dbghelp: Ensure that local variables and parameter actually have a container.

oldstable
Eric Pouech 2010-06-07 21:50:37 +02:00 committed by Alexandre Julliard
parent 8c7cc491ab
commit 99a5488a18
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ struct symt_data* symt_add_func_local(struct module* module,
locsym->hash_elt.name = pool_strdup(&module->pool, name);
locsym->hash_elt.next = NULL;
locsym->kind = dt;
locsym->container = &block->symt;
locsym->container = block ? &block->symt : &func->symt;
locsym->type = type;
locsym->u.var = *loc;
if (block)