Module: wine Branch: master Commit: 1bab386adffce4cd5589cec43b407d53230ef1cd URL: https://source.winehq.org/git/wine.git/?a=commit;h=1bab386adffce4cd5589cec43...
Author: Hans Leidekker hans@codeweavers.com Date: Tue Feb 8 11:18:07 2022 +0100
msi/tests: Correctly free usersid.
Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/msi/tests/action.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msi/tests/action.c b/dlls/msi/tests/action.c index 7de4fb7c52c..224637eb286 100644 --- a/dlls/msi/tests/action.c +++ b/dlls/msi/tests/action.c @@ -3022,7 +3022,7 @@ error: DeleteFileA(msifile); DeleteFileA("msitest\maximus"); RemoveDirectoryA("msitest"); - free(usersid); + LocalFree(usersid); }
static void test_publish_product(void) @@ -3259,7 +3259,7 @@ error: DeleteFileA(msifile); DeleteFileA("msitest\maximus"); RemoveDirectoryA("msitest"); - free(usersid); + LocalFree(usersid); }
static void test_publish_features(void) @@ -3384,7 +3384,7 @@ error: DeleteFileA(msifile); DeleteFileA("msitest\maximus"); RemoveDirectoryA("msitest"); - free(usersid); + LocalFree(usersid); }
static LPSTR reg_get_val_str(HKEY hkey, LPCSTR name)