Merge from HEAD: r14232
Initialize the "toc" field in the pdb_lookup structure in order
to prevent pdb_free_lookup from trying to delete invalid pointers.
Modified: branches/ros-branch-0_2_6/reactos/lib/dbghelp/msc.c
_____
Modified: branches/ros-branch-0_2_6/reactos/lib/dbghelp/msc.c
--- branches/ros-branch-0_2_6/reactos/lib/dbghelp/msc.c 2005-03-23
17:19:36 UTC (rev 14285)
+++ branches/ros-branch-0_2_6/reactos/lib/dbghelp/msc.c 2005-03-23
17:19:52 UTC (rev 14286)
@@ -2215,6 +2215,7 @@
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;
}
@@ -2227,6 +2228,7 @@
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;
}