comctl32: Also free pszHeaderTitle and pszHeaderSubTitle in DestroyPropertySheetPage.
This commit is contained in:
parent
663bc47602
commit
9e0517ac6d
|
@ -3063,6 +3063,12 @@ BOOL WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage)
|
||||||
if ((psp->dwFlags & PSP_USETITLE) && !IS_INTRESOURCE( psp->pszTitle ))
|
if ((psp->dwFlags & PSP_USETITLE) && !IS_INTRESOURCE( psp->pszTitle ))
|
||||||
Free ((LPVOID)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);
|
Free(hPropPage);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue