Commit b4e5e049 authored by Filip Navara's avatar Filip Navara Committed by Alexandre Julliard

Initialize the "toc" field in the pdb_lookup structure in order to

prevent pdb_free_lookup from trying to delete invalid pointers.
parent 9329e8f8
......@@ -2214,6 +2214,7 @@ static BOOL codeview_process_info(const struct process* pcs,
pdb_lookup.filename = pdb->name;
pdb_lookup.kind = PDB_JG;
pdb_lookup.u.jg.timestamp = pdb->timestamp;
pdb_lookup.u.jg.toc = NULL;
ret = pdb_process_file(pcs, msc_dbg, &pdb_lookup);
break;
}
......@@ -2226,6 +2227,7 @@ static BOOL codeview_process_info(const struct process* pcs,
pdb_lookup.filename = rsds->name;
pdb_lookup.kind = PDB_DS;
pdb_lookup.u.ds.guid = rsds->guid;
pdb_lookup.u.ds.toc = NULL;
ret = pdb_process_file(pcs, msc_dbg, &pdb_lookup);
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment