libpkgconf: cache: free copied cache_table when clearing cache
ci/woodpecker/push/woodpecker Pipeline failed Details

Ariadne Conill 2023-01-20 21:03:21 +00:00
parent 0226cdda6d
commit 34c0a1559f
1 changed files with 2 additions and 0 deletions

View File

@ -227,5 +227,7 @@ pkgconf_cache_free(pkgconf_client_t *client)
client->cache_table = NULL; client->cache_table = NULL;
client->cache_count = 0; client->cache_count = 0;
free(cache_table);
PKGCONF_TRACE(client, "cleared package cache"); PKGCONF_TRACE(client, "cleared package cache");
} }