From 34484a48d969541133556c8cac839b82d16c6342 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sun, 20 Mar 2005 19:11:52 +0000 Subject: [PATCH] Initialize the "toc" field in the pdb_lookup structure in order to prevent pdb_free_lookup from trying to delete invalid pointers. svn path=/trunk/; revision=14232 --- reactos/lib/dbghelp/msc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/lib/dbghelp/msc.c b/reactos/lib/dbghelp/msc.c index 2a5f42bc154..55944488bbd 100644 --- a/reactos/lib/dbghelp/msc.c +++ b/reactos/lib/dbghelp/msc.c @@ -2215,6 +2215,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; } @@ -2227,6 +2228,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; }