msvcrt: If caller passes a NULL deallocator to __unDNameEx, don't use it.

This commit is contained in:
qingdoa daoo 2006-04-13 00:12:50 -07:00 committed by Alexandre Julliard
parent cf27031329
commit 750102d1a3
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ static void und_free_all(struct parsed_symbol* sym)
while (sym->alloc_list)
{
next = *(void**)sym->alloc_list;
sym->mem_free_ptr(sym->alloc_list);
if(sym->mem_free_ptr) sym->mem_free_ptr(sym->alloc_list);
sym->alloc_list = next;
}
sym->avail_in_first = 0;