Skip to content

Commit

Permalink
Fix memory leak of updatecollectionmodule
Browse files Browse the repository at this point in the history
  • Loading branch information
dralley authored and kontura committed Nov 6, 2020
1 parent d90824f commit 8689672
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/updateinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ cr_updatecollection_free(cr_UpdateCollection *collection)
{
if (!collection)
return;
cr_updatecollectionmodule_free(collection->module);
cr_slist_free_full(collection->packages,
(GDestroyNotify) cr_updatecollectionpackage_free);
g_string_chunk_free(collection->chunk);
Expand Down

0 comments on commit 8689672

Please sign in to comment.