https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0dd82beda914bbedb7516…
commit 0dd82beda914bbedb7516c9fa0ed6abcc89a7384
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Mon Mar 14 21:53:46 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:28:45 2022 +0100
[WINESYNC] msi/tests: Correctly free usersid.
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 1bab386adffce4cd5589cec43b407d53230ef1cd by Hans Leidekker
<hans(a)codeweavers.com>
---
modules/rostests/winetests/msi/action.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/rostests/winetests/msi/action.c
b/modules/rostests/winetests/msi/action.c
index 24881d87636..0844ec56d97 100644
--- a/modules/rostests/winetests/msi/action.c
+++ b/modules/rostests/winetests/msi/action.c
@@ -3025,7 +3025,7 @@ error:
DeleteFileA(msifile);
DeleteFileA("msitest\\maximus");
RemoveDirectoryA("msitest");
- free(usersid);
+ LocalFree(usersid);
}
static void test_publish_product(void)
@@ -3262,7 +3262,7 @@ error:
DeleteFileA(msifile);
DeleteFileA("msitest\\maximus");
RemoveDirectoryA("msitest");
- free(usersid);
+ LocalFree(usersid);
}
static void test_publish_features(void)
@@ -3387,7 +3387,7 @@ error:
DeleteFileA(msifile);
DeleteFileA("msitest\\maximus");
RemoveDirectoryA("msitest");
- free(usersid);
+ LocalFree(usersid);
}
static LPSTR reg_get_val_str(HKEY hkey, LPCSTR name)