Commit b381951e authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Release nsstyle when destroying HTMLStyle.

parent 9a665ec2
......@@ -290,8 +290,11 @@ static ULONG WINAPI HTMLStyle_Release(IHTMLStyle *iface)
TRACE("(%p) ref=%d\n", This, ref);
if(!ref)
if(!ref) {
if(This->nsstyle)
nsIDOMCSSStyleDeclaration_Release(This->nsstyle);
heap_free(This);
}
return ref;
}
......
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