summaryrefslogtreecommitdiff
path: root/ext/repo_rpmmd.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-02-20 11:56:46 +0100
committerMichael Schroeder <mls@suse.de>2012-02-20 11:56:46 +0100
commit3178ba29d4f4878bcb0c738f0a9b8cf18522b00f (patch)
tree742209d72559b11991fc8c1b5d5302d010de34e7 /ext/repo_rpmmd.c
parentee69e96eec833153d0bb75b03191d258a603e258 (diff)
downloadlibsolv-3178ba29d4f4878bcb0c738f0a9b8cf18522b00f.tar.gz
libsolv-3178ba29d4f4878bcb0c738f0a9b8cf18522b00f.tar.bz2
libsolv-3178ba29d4f4878bcb0c738f0a9b8cf18522b00f.zip
- make file list conversion twice as fast by adding a 1k dir cache
Diffstat (limited to 'ext/repo_rpmmd.c')
-rw-r--r--ext/repo_rpmmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/repo_rpmmd.c b/ext/repo_rpmmd.c
index c2b723f..2599632 100644
--- a/ext/repo_rpmmd.c
+++ b/ext/repo_rpmmd.c
@@ -1222,6 +1222,7 @@ repo_add_rpmmd(Repo *repo, FILE *fp, const char *language, int flags)
join_freemem(&pd.jd);
stringpool_free(&pd.cspool);
solv_free(pd.cscache);
+ repodata_free_dircache(data);
if (!(flags & REPO_NO_INTERNALIZE))
repodata_internalize(data);