Nikolay Sivov : comctl32/tests: Initialize text buffer pointer (Valgrind).
Alexandre Julliard
julliard at winehq.org
Fri Apr 25 14:15:24 CDT 2014
Module: wine
Branch: master
Commit: 9b2ea633114651dfe55f9026bf1654290ae501b3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9b2ea633114651dfe55f9026bf1654290ae501b3
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri Apr 25 11:21:05 2014 +0400
comctl32/tests: Initialize text buffer pointer (Valgrind).
---
dlls/comctl32/tests/tooltips.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/comctl32/tests/tooltips.c b/dlls/comctl32/tests/tooltips.c
index 2766354..271009d 100644
--- a/dlls/comctl32/tests/tooltips.c
+++ b/dlls/comctl32/tests/tooltips.c
@@ -466,6 +466,7 @@ static void test_ttm_gettoolinfo(void)
tiW.hwnd = NULL;
tiW.uId = 0x1234ABCD;
tiW.lParam = 0xaaaaaaaa;
+ tiW.lpszText = NULL;
r = SendMessageA(hwnd, TTM_GETTOOLINFOW, 0, (LPARAM)&tiW);
ok(r, "Getting tooltip info failed\n");
ok(0x1abe11ed == tiW.lParam ||
More information about the wine-cvs
mailing list