comctl32: Don't leak button text.

This commit is contained in:
Huw Davies 2015-07-01 09:14:53 +01:00 committed by Alexandre Julliard
parent 01cd45cce1
commit 199f51ff78
1 changed files with 1 additions and 0 deletions

View File

@ -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]);
}