pkg: free SPDX license tags when a package is destroyed
ci/woodpecker/push/woodpecker Pipeline was successful Details

pull/243/head
Ariadne Conill 2022-08-08 10:25:24 +00:00
parent af9b26c15c
commit 28b5d57b98
1 changed files with 3 additions and 0 deletions

View File

@ -527,6 +527,9 @@ pkgconf_pkg_free(pkgconf_client_t *client, pkgconf_pkg_t *pkg)
if (pkg->pc_filedir != NULL) if (pkg->pc_filedir != NULL)
free(pkg->pc_filedir); free(pkg->pc_filedir);
if (pkg->license != NULL)
free(pkg->license);
free(pkg); free(pkg);
} }