2008-07-02 Geoffrey Garen <ggaren@apple.com>
[WebKit-https.git] / JavaScriptGlue / JSBase.cpp
index b899e6f8c34c591da43994ff400f75b81beb9d1f..87280960fc53fa050508207e388b5527d0ca7d95 100644 (file)
@@ -46,6 +46,7 @@ void JSBase::Release()
 {
     if (--fRetainCount == 0)
     {
+        JSLock lock(true);
         delete this;
     }
 }