Nikolay Sivov : user32/tests: Free memory after use.

Alexandre Julliard julliard at winehq.org
Mon Nov 30 10:42:50 CST 2009


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

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Sun Nov 29 02:18:59 2009 +0300

user32/tests: Free memory after use.

---

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

diff --git a/dlls/user32/tests/dde.c b/dlls/user32/tests/dde.c
index 202bb41..afeef4d 100644
--- a/dlls/user32/tests/dde.c
+++ b/dlls/user32/tests/dde.c
@@ -2067,6 +2067,8 @@ static void test_UnpackDDElParam(void)
     ok(ret == TRUE, "Expected TRUE, got %d\n", ret);
     ok(lo == 0, "Expected 0, got %08lx\n", lo);
     ok(hi == 0xcafebabe, "Expected 0xcafebabe, got %08lx\n", hi);
+
+    GlobalFree(hglobal);
 }
 
 static HDDEDATA CALLBACK server_end_to_end_callback(UINT uType, UINT uFmt, HCONV hconv,




More information about the wine-cvs mailing list