Commit 7a406d0a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

dbghelp: Free root in error case (Coverity).

parent d3b89635
......@@ -2528,6 +2528,7 @@ static BOOL pdb_init(const struct pdb_lookup* pdb_lookup, struct pdb_file_info*
if (pdb_lookup->kind != PDB_JG)
{
WARN("Found %s, but wrong PDB kind\n", pdb_lookup->filename);
pdb_free(root);
return FALSE;
}
pdb_file->kind = PDB_JG;
......
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