=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: browseui: HeapFree after deleting the cs (coverity).
Alexandre Julliard
julliard at winehq.org
Thu Oct 25 13:50:44 CDT 2012
Module: wine
Branch: master
Commit: 69f01adf2d9e11055c1f185a673d297f577d63cb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=69f01adf2d9e11055c1f185a673d297f577d63cb
Author: André Hentschel <nerv at dawncrow.de>
Date: Wed Oct 24 20:53:06 2012 +0200
browseui: HeapFree after deleting the cs (coverity).
---
dlls/browseui/progressdlg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/browseui/progressdlg.c b/dlls/browseui/progressdlg.c
index 7d478cc..598197b 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--;
}
More information about the wine-cvs
mailing list