From: Michael Tremer Date: Sat, 20 May 2017 21:26:01 +0000 (+0200) Subject: libpakfire: repo: Don't clear repodata when repo is deallocated X-Git-Tag: 0.9.28~1285^2~1338 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b34e8fa8ff2b65a33ec36f5c5e230a1e2c566f0;p=pakfire.git libpakfire: repo: Don't clear repodata when repo is deallocated This data needs to stay there until the pool (and the actual repository in libsolv) is destroyed. Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/repo.c b/src/libpakfire/repo.c index 8c2686deb..ab6a7a086 100644 --- a/src/libpakfire/repo.c +++ b/src/libpakfire/repo.c @@ -109,9 +109,6 @@ void pakfire_repo_free(PakfireRepo repo) { if (repo->repo) repo->repo->appdata = NULL; - // Free repodata. - repodata_free(repo->filelist); - if (repo->cache) pakfire_repocache_free(repo->cache);