diff --git a/libpkgconf/cache.c b/libpkgconf/cache.c index 90e73cb..2630855 100644 --- a/libpkgconf/cache.c +++ b/libpkgconf/cache.c @@ -235,6 +235,7 @@ pkgconf_cache_free(pkgconf_client_t *client) pkgconf_pkg_t *pkg = cache_table[i]; pkgconf_pkg_free(client, pkg); } + free(cache_table); PKGCONF_TRACE(client, "cleared package cache"); }