Huw Davies : comctl32: Don't leak button text.
Module: wine Branch: master Commit: 199f51ff78c94925bdbdd13a0c431035358f682b URL: http://source.winehq.org/git/wine.git/?a=commit;h=199f51ff78c94925bdbdd13a0c... Author: Huw Davies <huw(a)codeweavers.com> Date: Wed Jul 1 09:14:53 2015 +0100 comctl32: Don't leak button text. --- 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]); }
participants (1)
-
Alexandre Julliard