import: fix mem-leak in CurlGlue

Make sure to actually free the underlying object in CurlGlue unref.
This commit is contained in:
David Herrmann
2014-12-31 16:01:37 +01:00
parent 580e55da11
commit c5285fbfce
+1
View File
@@ -236,6 +236,7 @@ CurlGlue *curl_glue_unref(CurlGlue *g) {
sd_event_source_unref(g->timer);
sd_event_unref(g->event);
free(g);
return NULL;
}