mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-07 06:03:51 +00:00
import: fix mem-leak in CurlGlue
Make sure to actually free the underlying object in CurlGlue unref.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user