[PATCH 16/16] Free memory after use

Nikolay Sivov bunglehead at gmail.com
Sat Nov 28 17:18:59 CST 2009


---
 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,
-- 
1.5.6.5


--=-onuTDeSGUpIrop+dwTjG--




More information about the wine-patches mailing list