Fix memory leak

This commit is contained in:
Zach Borboa
2015-04-22 03:53:35 -07:00
parent b31251a7fd
commit c2558f5dd4
+1
View File
@@ -133,6 +133,7 @@ class Curl
if (is_resource($this->curl)) {
curl_close($this->curl);
}
$this->json_decoder = null;
}
public function complete($callback)