forked from ariadne/pkgconf
libpkgconf: client: resolve memory leak of filter lists (closes #130)
parent
ed63a31b7a
commit
ebb4c73525
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue