Bug 503464 - Memory leak in JSScope::drop. r=brendan.

This commit is contained in:
Jason Orendorff 2009-07-10 10:36:29 -05:00
parent 1899603001
commit 72391e700b

View File

@ -246,7 +246,7 @@ JSScope::drop(JSContext *cx, JSObject *obj)
--nrefs; --nrefs;
if (nrefs == 0) { if (nrefs == 0) {
delete this; destroy(cx, this);
return false; return false;
} }
if (object == obj) if (object == obj)