From e520605fa90fb16414d879e894aaa854a6fd16b9 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Wed, 7 Apr 2010 22:23:52 +0200 Subject: [PATCH] dbghelp: When trying to enumerate locals & parameters with SymEnumSymbols, don't return a global or public symbol when the nearest symbol of the current context isn't a function. --- dlls/dbghelp/symbol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/dbghelp/symbol.c b/dlls/dbghelp/symbol.c index e53b5839644..0eac098e822 100644 --- a/dlls/dbghelp/symbol.c +++ b/dlls/dbghelp/symbol.c @@ -1037,9 +1037,8 @@ static BOOL symt_enum_locals(struct process* pcs, const char* mask, &((struct symt_function*)sym)->vchildren); regfree(&preg); return ret; - } - return send_symbol(se, &pair, NULL, &sym->symt); + return FALSE; } /******************************************************************