[PATCH 3/8] comctl32: Don't leak button text.
Huw Davies
huw at codeweavers.com
Wed Jul 1 03:14:53 CDT 2015
---
dlls/comctl32/toolbar.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 19d45a0..aa9ffcd 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -4088,6 +4088,7 @@ TOOLBAR_DeleteAllButtons(TOOLBAR_INFO *infoPtr)
for (i = 0; i < infoPtr->nNumButtons; i++)
{
+ free_string( infoPtr->buttons + i );
TOOLBAR_TooltipDelTool(infoPtr, &infoPtr->buttons[i]);
}
--
1.8.0
More information about the wine-patches
mailing list