]> git.ipfire.org Git - pakfire.git/commitdiff
libpakfire: Do not free repodata
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 20 Jan 2018 13:47:14 +0000 (14:47 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 20 Jan 2018 13:47:14 +0000 (14:47 +0100)
This is done when the repository is being freed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/repo.c

index 09a3db92454ff7b848ffa3280a7639bc1d67256d..313f7538fc90a34fd88f59eb741c2216998cce2f 100644 (file)
@@ -54,7 +54,7 @@ struct _PakfireRepo {
 };
 
 static void free_repo_appdata(struct pakfire_repo_appdata* appdata) {
-       repodata_free(appdata->repodata);
+       // repodata is being destroyed with the repository
        pakfire_free(appdata);
 }