Reviewed by Oliver Hunt.
[WebKit-https.git] / JavaScriptCore / kjs / Context.cpp
index 7d4779f0558e815546dcc99fb3724524bf64a77f..e15b96a3609d0769eed92ca418042ccb6c6ad087 100644 (file)
@@ -87,7 +87,7 @@ Context::~Context()
     // This prevents lists of Lists from building up, waiting to be garbage collected
     ActivationImp* activation = static_cast<ActivationImp*>(m_activation);
     if (activation)
-        activation->resetArguments();
+        activation->releaseArguments();
 }
 
 void Context::mark()