shell32/shelllink: Fix some string buffers leaks.

This commit is contained in:
Nikolay Sivov 2010-01-07 16:00:50 +03:00 committed by Alexandre Julliard
parent 04cfe6acf7
commit 9a53cb5263
1 changed files with 4 additions and 1 deletions

View File

@ -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 );