Andrew Nguyen : msi/tests: Free the user SID string buffer with the correct deallocator in the source tests .

Alexandre Julliard julliard at winehq.org
Fri Jul 9 09:46:26 CDT 2010


Module: wine
Branch: master
Commit: ba180b8600c3fa65135519c196e8d83496961a5b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ba180b8600c3fa65135519c196e8d83496961a5b

Author: Andrew Nguyen <anguyen at codeweavers.com>
Date:   Fri Jul  9 04:10:08 2010 -0500

msi/tests: Free the user SID string buffer with the correct deallocator in the source tests.

---

 dlls/msi/tests/source.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/tests/source.c b/dlls/msi/tests/source.c
index 1826f21..274cb43 100644
--- a/dlls/msi/tests/source.c
+++ b/dlls/msi/tests/source.c
@@ -1001,7 +1001,7 @@ static void test_MsiSourceListAddSourceEx(void)
 
     RegCloseKey(url);
     RegCloseKey(prodkey);
-    HeapFree(GetProcessHeap(), 0, usersid);
+    LocalFree(usersid);
 }
 
 static void test_MsiSourceListEnumSources(void)




More information about the wine-cvs mailing list