Commit 9e0517ac authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

comctl32: Also free pszHeaderTitle and pszHeaderSubTitle in DestroyPropertySheetPage.

parent 663bc476
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment