Hans Leidekker : fusion: Fix a couple of memory leaks (valgrind).
Alexandre Julliard
julliard at winehq.org
Tue May 13 14:23:46 CDT 2014
Module: wine
Branch: master
Commit: 2acd2116d9e4ff01cd9262646082491541f318da
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2acd2116d9e4ff01cd9262646082491541f318da
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue May 13 13:42:45 2014 +0200
fusion: Fix a couple of memory leaks (valgrind).
---
dlls/fusion/asmname.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/fusion/asmname.c b/dlls/fusion/asmname.c
index fa84e53..a17957a 100644
--- a/dlls/fusion/asmname.c
+++ b/dlls/fusion/asmname.c
@@ -709,6 +709,8 @@ done:
{
HeapFree(GetProcessHeap(), 0, name->displayname);
HeapFree(GetProcessHeap(), 0, name->name);
+ HeapFree(GetProcessHeap(), 0, name->culture);
+ HeapFree(GetProcessHeap(), 0, name->procarch);
}
return hr;
}
More information about the wine-cvs
mailing list