msi/tests: Correctly free usersid.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hans Leidekker 2022-02-08 11:18:07 +01:00 committed by Alexandre Julliard
parent 19a5881b0b
commit 1bab386adf
1 changed files with 3 additions and 3 deletions

View File

@ -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)