Commit e1ca8773 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

comdlg32: Remove the property when destroy the dialog box.

parent 91b80fc8
......@@ -1220,7 +1220,7 @@ static INT_PTR CALLBACK ColorDlgProc( HWND hDlg, UINT message,
DeleteDC(lpp->hdcMem);
DeleteObject(lpp->hbmMem);
HeapFree(GetProcessHeap(), 0, lpp);
SetPropW( hDlg, szColourDialogProp, 0 );
RemovePropW( hDlg, szColourDialogProp );
break;
case WM_COMMAND:
if (CC_WMCommand( hDlg, wParam, lParam, HIWORD(wParam), (HWND) lParam))
......
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