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
1 changed files with 1 additions and 1 deletions

View File

@ -265,9 +265,9 @@ static void ProgressDialog_Destructor(ProgressDialog *This)
heap_free(This->lines[2]); heap_free(This->lines[2]);
heap_free(This->cancelMsg); heap_free(This->cancelMsg);
heap_free(This->title); heap_free(This->title);
heap_free(This);
This->cs.DebugInfo->Spare[0] = 0; This->cs.DebugInfo->Spare[0] = 0;
DeleteCriticalSection(&This->cs); DeleteCriticalSection(&This->cs);
heap_free(This);
BROWSEUI_refCount--; BROWSEUI_refCount--;
} }