diff --git a/src/libostree/ostree-fetcher-curl.c b/src/libostree/ostree-fetcher-curl.c index 6a84ba7e63..f66e6ae45f 100644 --- a/src/libostree/ostree-fetcher-curl.c +++ b/src/libostree/ostree-fetcher-curl.c @@ -148,6 +148,7 @@ _ostree_fetcher_finalize (GObject *object) g_clear_pointer (&self->extra_headers, (GDestroyNotify)curl_slist_free_all); g_hash_table_unref (self->outstanding_requests); g_hash_table_unref (self->sockets); + g_clear_pointer (&self->timer_event, (GDestroyNotify)g_source_destroy); if (self->mainctx) g_main_context_unref (self->mainctx); curl_multi_cleanup (self->multi);