Commit 8d085920 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Fixed ref counting.

parent 23393756
......@@ -254,8 +254,11 @@ static ULONG WINAPI HTMLStyleSheetsCollection_Release(IHTMLStyleSheetsCollection
TRACE("(%p) ref=%d\n", This, ref);
if(!ref)
if(!ref) {
if(This->nslist)
nsIDOMStyleSheetList_Release(This->nslist);
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