cache: free allocated copy of cache_table in pkgconf_cache_free

Dylan Baker 2022-07-26 11:38:50 -07:00
parent 918b660992
commit e9e7ebdbb6
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ pkgconf_cache_free(pkgconf_client_t *client)
pkgconf_pkg_t *pkg = cache_table[i]; pkgconf_pkg_t *pkg = cache_table[i];
pkgconf_pkg_free(client, pkg); pkgconf_pkg_free(client, pkg);
} }
free(cache_table);
PKGCONF_TRACE(client, "cleared package cache"); PKGCONF_TRACE(client, "cleared package cache");
} }