msi: Fix a memory leak (valgrind).
This commit is contained in:
parent
c567d1e461
commit
94f4c0f07d
|
@ -2735,6 +2735,7 @@ static UINT ITERATE_WriteRegistryValues(MSIRECORD *row, LPVOID param)
|
|||
{
|
||||
ERR("Could not create key %s\n", debugstr_w(keypath));
|
||||
msi_free(uikey);
|
||||
msi_free(keypath);
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -2786,6 +2787,7 @@ static UINT ITERATE_WriteRegistryValues(MSIRECORD *row, LPVOID param)
|
|||
msi_free(value_data);
|
||||
msi_free(deformated);
|
||||
msi_free(uikey);
|
||||
msi_free(keypath);
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue