Module: wine Branch: master Commit: 94f4c0f07ded9d282db54523e049725029a8f5d2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=94f4c0f07ded9d282db54523e0...
Author: Hans Leidekker hans@codeweavers.com Date: Wed Jan 12 14:04:13 2011 +0100
msi: Fix a memory leak (valgrind).
---
dlls/msi/action.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c index 7ccc7c6..8f2d116 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -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; }