summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-12-31 17:54:57 +0100
committerAurelien Foret <aurelien@archlinux.org>2005-12-31 17:54:57 +0100
commit922bab599fdad5ee120329704a28994c8b50efdc (patch)
tree2eaefa40cd45151f597fbedf35ff6fdfbd53efc0
parent3992e7eac8c9efe2bd3b5bc25c1b0446ad847c1b (diff)
downloadpacman-922bab599fdad5ee120329704a28994c8b50efdc.tar.gz
pacman-922bab599fdad5ee120329704a28994c8b50efdc.tar.xz
added a debug log when freeing the package cache
-rw-r--r--lib/libalpm/cache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c
index e030c7d7..b73939c4 100644
--- a/lib/libalpm/cache.c
+++ b/lib/libalpm/cache.c
@@ -78,6 +78,9 @@ void db_free_pkgcache(pmdb_t *db)
return;
}
+ _alpm_log(PM_LOG_DEBUG, "freeing package cache for repository '%s'",
+ db->treename);
+
FREELISTPKGS(db->pkgcache);
if(db->grpcache) {