Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rpm-software-management/createrepo_c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Alley <dalley@redhat.com>2020-11-01 22:21:30 +0300
committeramatej <matej.ales@seznam.cz>2020-11-06 09:48:37 +0300
commit8689672fb8dc6730c4b3bf0be6c3861df7e77a21 (patch)
treeee50f8f5bfc0b88260ffd2cf1a116aa67096f0ea
parentd90824fa4b159413db5089ca937bbbfc048390ba (diff)
Fix memory leak of updatecollectionmodule
-rw-r--r--src/updateinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/updateinfo.c b/src/updateinfo.c
index 9c15044..5b69f1f 100644
--- a/src/updateinfo.c
+++ b/src/updateinfo.c
@@ -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);