Permalink
Browse files

Hotfix, release resource.

  • Loading branch information...
jiangmiao committed Apr 10, 2013
1 parent 5e48419 commit e9e17fc940dce82fac402b1575f29207df2ba195
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/node-curl.h
View
@@ -26,6 +26,11 @@ class NodeCurlHttppost
reset();
}
+ ~NodeCurlHttppost()
+ {
+ reset();
+ }
+
void reset()
{
curl_httppost *cur = first;

0 comments on commit e9e17fc

Please sign in to comment.