From b411ba3fb060abee87c5f17b697239fc2bc78c24 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Sat, 12 Mar 2011 18:35:40 +0100 Subject: [PATCH] mshtml: Fixed type in get_nsdoc_window. --- dlls/mshtml/htmlwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c index 0e420212c31..656999e8df5 100644 --- a/dlls/mshtml/htmlwindow.c +++ b/dlls/mshtml/htmlwindow.c @@ -94,7 +94,7 @@ nsIDOMWindow *get_nsdoc_window(nsIDOMDocument *nsdoc) } nsres = nsIDOMDocumentView_GetDefaultView(nsdocview, &nsview); - nsIDOMDocumentView_Release(nsview); + nsIDOMDocumentView_Release(nsdocview); if(NS_FAILED(nsres)) { ERR("GetDefaultView failed: %08x\n", nsres); return NULL;