Michael Stefaniuc : mshtml: Free the right variable (Smatch).
Alexandre Julliard
julliard at winehq.org
Tue Nov 3 15:37:17 CST 2009
Module: wine
Branch: master
Commit: cc94a1db0186e83ea9f3327c6aa41472332ba60d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cc94a1db0186e83ea9f3327c6aa41472332ba60d
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Sun Nov 1 18:04:58 2009 +0100
mshtml: Free the right variable (Smatch).
---
dlls/mshtml/htmlwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c
index 5b07b0f..b278a5c 100644
--- a/dlls/mshtml/htmlwindow.c
+++ b/dlls/mshtml/htmlwindow.c
@@ -1562,7 +1562,7 @@ HRESULT HTMLWindow_Create(HTMLDocumentObj *doc_obj, nsIDOMWindow *nswindow, HTML
window->window_ref = heap_alloc(sizeof(windowref_t));
if(!window->window_ref) {
- heap_free(window->window_ref);
+ heap_free(window);
return E_OUTOFMEMORY;
}
More information about the wine-cvs
mailing list