fix a memory leak involving the global context

git-svn-id: svn://10.0.0.236/trunk@56123 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mscott%netscape.com 1999-12-17 00:46:11 +00:00
parent 8891a8a6d1
commit 283b96bec8
2 changed files with 2 additions and 0 deletions

View File

@ -506,6 +506,7 @@ nsHTMLImageElement::Initialize(JSContext* aContext,
}
NS_RELEASE(domWindow);
}
NS_RELEASE(globalObject);
}
}

View File

@ -506,6 +506,7 @@ nsHTMLImageElement::Initialize(JSContext* aContext,
}
NS_RELEASE(domWindow);
}
NS_RELEASE(globalObject);
}
}