Nikolay Sivov : shell32/shelllink: Fix some string buffers leaks.
Alexandre Julliard
julliard at winehq.org
Thu Jan 7 13:08:36 CST 2010
Module: wine
Branch: master
Commit: 9a53cb52637f9856041eb70f17c1369004a5d8e1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9a53cb52637f9856041eb70f17c1369004a5d8e1
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Thu Jan 7 16:00:50 2010 +0300
shell32/shelllink: Fix some string buffers leaks.
---
dlls/shell32/shelllink.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/shelllink.c b/dlls/shell32/shelllink.c
index 6dd62a7..e304058 100644
--- a/dlls/shell32/shelllink.c
+++ b/dlls/shell32/shelllink.c
@@ -303,7 +303,10 @@ static ULONG ShellLink_Release( IShellLinkImpl *This )
HeapFree(GetProcessHeap(), 0, This->sArgs);
HeapFree(GetProcessHeap(), 0, This->sWorkDir);
HeapFree(GetProcessHeap(), 0, This->sDescription);
- HeapFree(GetProcessHeap(),0,This->sPath);
+ HeapFree(GetProcessHeap(), 0, This->sPath);
+ HeapFree(GetProcessHeap(), 0, This->sPathRel);
+ HeapFree(GetProcessHeap(), 0, This->sProduct);
+ HeapFree(GetProcessHeap(), 0, This->sComponent);
if (This->site)
IUnknown_Release( This->site );
More information about the wine-cvs
mailing list