diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-12-12 16:04:02 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-12-12 16:04:02 +0300 |
commit | 429162ba11e58758e5e4ac4f03239891fc3e189c (patch) | |
tree | a530c0621a5cb3fe18c8d85392658458d02d6ea1 /libpkgconf/cache.c | |
parent | a18413342bc088e10a56ff70dca8f3007a83085d (diff) |
Merge with latest upstream package version (master branch)
Diffstat (limited to 'libpkgconf/cache.c')
-rw-r--r-- | libpkgconf/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpkgconf/cache.c b/libpkgconf/cache.c index 1662ce5..7715e33 100644 --- a/libpkgconf/cache.c +++ b/libpkgconf/cache.c @@ -44,7 +44,7 @@ * :rtype: pkgconf_pkg_t * */ pkgconf_pkg_t * -pkgconf_cache_lookup(const pkgconf_client_t *client, const char *id) +pkgconf_cache_lookup(pkgconf_client_t *client, const char *id) { pkgconf_node_t *node; @@ -134,7 +134,7 @@ pkgconf_cache_free(pkgconf_client_t *client) PKGCONF_FOREACH_LIST_ENTRY_SAFE(client->pkg_cache.head, iter2, iter) { pkgconf_pkg_t *pkg = iter->data; - pkgconf_pkg_free(client, pkg); + pkgconf_pkg_unref(client, pkg); } memset(&client->pkg_cache, 0, sizeof client->pkg_cache); |