Commit 750102d1 authored by qingdoa daoo's avatar qingdoa daoo Committed by Alexandre Julliard

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

parent cf270313
......@@ -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;
......
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