From 9b2ea633114651dfe55f9026bf1654290ae501b3 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Fri, 25 Apr 2014 11:21:05 +0400 Subject: [PATCH] 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 2766354c3ec..271009d5d18 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 ||