Mike McCormack : msi: Remember to free a handle.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 27 05:42:26 CDT 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Thu Jul 27 11:23:54 2006 +0900

msi: Remember to free a handle.

---

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

diff --git a/dlls/msi/tests/format.c b/dlls/msi/tests/format.c
index e776fa6..1ea9ee3 100644
--- a/dlls/msi/tests/format.c
+++ b/dlls/msi/tests/format.c
@@ -1181,6 +1181,8 @@ static void test_formatrecord(void)
     ok( sz == 12, "size wrong\n");
     ok( 0 == strcmp(buffer,"{foo[-1]foo}"), "wrong output %s\n",buffer);
     ok( r == ERROR_SUCCESS, "format failed\n");
+
+    MsiCloseHandle( hrec );
 }
 
 static void test_formatrecord_package(void)




More information about the wine-cvs mailing list