Skip to content

Commit

Permalink
curl: Fix use-after-free
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Jan 11, 2017
1 parent a915364 commit 485ce95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libostree/ostree-fetcher-curl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 485ce95

Please sign in to comment.