Commit c4bf8a85 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

msi: Fix memory leak (Coverity).

parent 69a61383
......@@ -6968,6 +6968,7 @@ static UINT ITERATE_WriteEnvironmentString( MSIRECORD *rec, LPVOID param )
data = msi_alloc(size);
if (!data)
{
msi_free(deformatted);
RegCloseKey(env);
return ERROR_OUTOFMEMORY;
}
......
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