Nikolay Sivov : fusion: Fix processor arch string leak (Valgrind).

Alexandre Julliard julliard at winehq.org
Mon Jan 17 10:59:42 CST 2011


Module: wine
Branch: master
Commit: 79f1d863d28f4e6ed71b03a839ba69a4e942ddaf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=79f1d863d28f4e6ed71b03a839ba69a4e942ddaf

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sat Jan 15 18:55:42 2011 +0300

fusion: Fix processor arch string leak (Valgrind).

---

 dlls/fusion/asmname.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/fusion/asmname.c b/dlls/fusion/asmname.c
index 34f0555..54223af 100644
--- a/dlls/fusion/asmname.c
+++ b/dlls/fusion/asmname.c
@@ -111,6 +111,7 @@ static ULONG WINAPI IAssemblyNameImpl_Release(IAssemblyName *iface)
         HeapFree(GetProcessHeap(), 0, This->displayname);
         HeapFree(GetProcessHeap(), 0, This->name);
         HeapFree(GetProcessHeap(), 0, This->culture);
+        HeapFree(GetProcessHeap(), 0, This->procarch);
         HeapFree(GetProcessHeap(), 0, This);
     }
 




More information about the wine-cvs mailing list