diff --git a/dlls/browseui/progressdlg.c b/dlls/browseui/progressdlg.c index 7d478cc0b3f..598197ba783 100644 --- a/dlls/browseui/progressdlg.c +++ b/dlls/browseui/progressdlg.c @@ -265,9 +265,9 @@ static void ProgressDialog_Destructor(ProgressDialog *This) heap_free(This->lines[2]); heap_free(This->cancelMsg); heap_free(This->title); - heap_free(This); This->cs.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&This->cs); + heap_free(This); BROWSEUI_refCount--; }