qingdoa daoo : msvcrt: If caller passes a NULL deallocator to
__unDNameEx, don't use it.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Apr 13 05:17:19 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 750102d1a3a254bdf3fa3f21f3ab2812be9a134b
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=750102d1a3a254bdf3fa3f21f3ab2812be9a134b
Author: qingdoa daoo <qingdao33122 at yahoo.com>
Date: Thu Apr 13 00:12:50 2006 -0700
msvcrt: If caller passes a NULL deallocator to __unDNameEx, don't use it.
---
dlls/msvcrt/undname.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msvcrt/undname.c b/dlls/msvcrt/undname.c
index ebf51fa..d18c663 100644
--- a/dlls/msvcrt/undname.c
+++ b/dlls/msvcrt/undname.c
@@ -161,7 +161,7 @@ static void und_free_all(struct parsed_s
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;
More information about the wine-cvs
mailing list