libpkgconf: client: resolve memory leak of filter lists (closes #130)

pull/144/head
William Pitcock 2017-09-13 15:02:57 -05:00
parent ed63a31b7a
commit ebb4c73525
1 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,9 @@ pkgconf_client_deinit(pkgconf_client_t *client)
if (client->buildroot_dir != NULL) if (client->buildroot_dir != NULL)
free(client->buildroot_dir); free(client->buildroot_dir);
pkgconf_path_free(&client->filter_libdirs);
pkgconf_path_free(&client->filter_includedirs);
pkgconf_tuple_free_global(client); pkgconf_tuple_free_global(client);
pkgconf_path_free(&client->dir_list); pkgconf_path_free(&client->dir_list);
pkgconf_cache_free(client); pkgconf_cache_free(client);