summaryrefslogtreecommitdiff
path: root/src/import/curl-util.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-12-31 16:01:37 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2014-12-31 16:01:37 +0100
commitc5285fbfcede2e0f54d2b5f14193041067cd2af6 (patch)
treec676d3a1551f7dd4daa4eb03e89a3ed09c3fb9b2 /src/import/curl-util.c
parent580e55da1118870b6099d1a863d9806a31f2b1b4 (diff)
import: fix mem-leak in CurlGlue
Make sure to actually free the underlying object in CurlGlue unref.
Diffstat (limited to 'src/import/curl-util.c')
-rw-r--r--src/import/curl-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/import/curl-util.c b/src/import/curl-util.c
index 6a6b1c0004..0c6c8673cc 100644
--- a/src/import/curl-util.c
+++ b/src/import/curl-util.c
@@ -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;
}