forked from ariadne/pkgconf
cache: free allocated copy of cache_table in pkgconf_cache_free
parent
918b660992
commit
e9e7ebdbb6
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue