appwiz.cpl: Fix a leak (coverity).

This commit is contained in:
Frédéric Delanoy 2012-12-26 18:28:22 +01:00 committed by Alexandre Julliard
parent ec4de1f9fe
commit 720f1bb7eb
1 changed files with 1 additions and 0 deletions

View File

@ -314,6 +314,7 @@ static BOOL ReadApplicationsFromRegistry(HKEY root)
err:
RegCloseKey(hkeyApp);
if (info) FreeAppInfo(info);
HeapFree(GetProcessHeap(), 0, command);
return FALSE;
}