browseui: HeapFree after deleting the cs (coverity).
This commit is contained in:
parent
97dbccf5f2
commit
69f01adf2d
|
@ -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--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue