Commit add663fd authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

wineboot: Fix some memory leaks.

parent e76fe016
...@@ -530,6 +530,9 @@ static BOOL ProcessRunKeys( HKEY hkRoot, LPCWSTR szKeyName, BOOL bDelete, ...@@ -530,6 +530,9 @@ static BOOL ProcessRunKeys( HKEY hkRoot, LPCWSTR szKeyName, BOOL bDelete,
res=ERROR_SUCCESS; res=ERROR_SUCCESS;
end: end:
HeapFree( GetProcessHeap(), 0, szValue );
HeapFree( GetProcessHeap(), 0, szCmdLine );
if( hkRun!=NULL ) if( hkRun!=NULL )
RegCloseKey( hkRun ); RegCloseKey( hkRun );
if( hkWin!=NULL ) if( hkWin!=NULL )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment