mshtml: Free the right variable (Smatch).

This commit is contained in:
Michael Stefaniuc 2009-11-01 18:04:58 +01:00 committed by Alexandre Julliard
parent 9f8a73ab96
commit cc94a1db01
1 changed files with 1 additions and 1 deletions

View File

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