Hans Leidekker : msi/tests: Correctly free usersid.

Alexandre Julliard julliard at winehq.org
Tue Feb 8 16:11:45 CST 2022


Module: wine
Branch: master
Commit: 1bab386adffce4cd5589cec43b407d53230ef1cd
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1bab386adffce4cd5589cec43b407d53230ef1cd

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Feb  8 11:18:07 2022 +0100

msi/tests: Correctly free usersid.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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)




More information about the wine-cvs mailing list