Commit 5ac8507a authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

mshtml: Finish with the correct string.

parent 3ea63342
...@@ -309,7 +309,7 @@ static BOOL get_elem_clsid(nsIDOMElement *elem, CLSID *clsid) ...@@ -309,7 +309,7 @@ static BOOL get_elem_clsid(nsIDOMElement *elem, CLSID *clsid)
ERR("GetAttribute failed: %08x\n", nsres); ERR("GetAttribute failed: %08x\n", nsres);
} }
nsAString_Finish(&attr_str); nsAString_Finish(&val_str);
return ret; return ret;
} }
...@@ -557,7 +557,7 @@ static void check_codebase(HTMLInnerWindow *window, nsIDOMElement *nselem) ...@@ -557,7 +557,7 @@ static void check_codebase(HTMLInnerWindow *window, nsIDOMElement *nselem)
ERR("GetAttribute failed: %08x\n", nsres); ERR("GetAttribute failed: %08x\n", nsres);
} }
nsAString_Finish(&attr_str); nsAString_Finish(&val_str);
if(!uri) if(!uri)
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment