browseui: HeapFree after deleting the cs (coverity).

This commit is contained in:
André Hentschel 2012-10-24 20:53:06 +02:00 committed by Alexandre Julliard
parent 97dbccf5f2
commit 69f01adf2d

View file

@ -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--;
}