André Hentschel : comctl32: Also free pszHeaderTitle and pszHeaderSubTitle in DestroyPropertySheetPage .
Module: wine Branch: master Commit: 9e0517ac6dea9e171564a2d4ae4cb868bdf76e3a URL: http://source.winehq.org/git/wine.git/?a=commit;h=9e0517ac6dea9e171564a2d4ae... Author: André Hentschel <nerv(a)dawncrow.de> Date: Thu Dec 29 02:51:18 2011 +0100 comctl32: Also free pszHeaderTitle and pszHeaderSubTitle in DestroyPropertySheetPage. --- dlls/comctl32/propsheet.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c index e6d2d30..6f620c6 100644 --- a/dlls/comctl32/propsheet.c +++ b/dlls/comctl32/propsheet.c @@ -3063,6 +3063,12 @@ BOOL WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage) if ((psp->dwFlags & PSP_USETITLE) && !IS_INTRESOURCE( psp->pszTitle )) Free ((LPVOID)psp->pszTitle); + if ((psp->dwFlags & PSP_USEHEADERTITLE) && !IS_INTRESOURCE( psp->pszHeaderTitle )) + Free ((LPVOID)psp->pszHeaderTitle); + + if ((psp->dwFlags & PSP_USEHEADERSUBTITLE) && !IS_INTRESOURCE( psp->pszHeaderSubTitle )) + Free ((LPVOID)psp->pszHeaderSubTitle); + Free(hPropPage); return TRUE;
participants (1)
-
Alexandre Julliard