msvcrt: If caller passes a NULL deallocator to __unDNameEx, don't use it.
This commit is contained in:
parent
cf27031329
commit
750102d1a3
|
@ -161,7 +161,7 @@ static void und_free_all(struct parsed_symbol* sym)
|
||||||
while (sym->alloc_list)
|
while (sym->alloc_list)
|
||||||
{
|
{
|
||||||
next = *(void**)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->alloc_list = next;
|
||||||
}
|
}
|
||||||
sym->avail_in_first = 0;
|
sym->avail_in_first = 0;
|
||||||
|
|
Loading…
Reference in New Issue