oledlg: Remove the structure window property when we quit.

This commit is contained in:
Huw Davies 2006-10-19 12:44:43 +01:00 committed by Alexandre Julliard
parent 5f71b16d07
commit 04662b8c45
1 changed files with 2 additions and 0 deletions

View File

@ -615,6 +615,8 @@ static INT_PTR CALLBACK ps_dlg_proc(HWND hdlg, UINT msg, WPARAM wp, LPARAM lp)
if(wp == IDOK)
update_structure(hdlg, ps_struct);
EndDialog(hdlg, wp);
/* native does its cleanup in WM_DESTROY */
RemovePropW(hdlg, prop_name);
free_structure(ps_struct);
return TRUE;
}