diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-12 01:51:17 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-12 01:51:17 +0300 |
commit | 53a76972f56688f4e0c7889e295d87b91ae85bc5 (patch) | |
tree | 479eae73397f1204bf0761a1012334f2343b42d9 /libpkgconf/client.c | |
parent | 4beec8f055fd3b0cc4ef618cce8b52c58dd0ee08 (diff) |
Fix leaks and package not caching
Diffstat (limited to 'libpkgconf/client.c')
-rw-r--r-- | libpkgconf/client.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpkgconf/client.c b/libpkgconf/client.c index 044a589..cda1c75 100644 --- a/libpkgconf/client.c +++ b/libpkgconf/client.c @@ -140,6 +140,12 @@ pkgconf_client_deinit(pkgconf_client_t *client) pkgconf_tuple_free_global(client); pkgconf_path_free(&client->dir_list); pkgconf_cache_free(client); + + // Added to the original leaking code (reported issue #130). + // + pkgconf_path_free(&client->filter_libdirs); + pkgconf_path_free(&client->filter_includedirs); + } /* |