mirror of
https://github.com/reactos/wine.git
synced 2025-02-27 00:08:18 +00:00
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…
x
Reference in New Issue
Block a user