dependency: use dependency match owner with pkgconf_pkg_unref()

bsdstubs-errno
Ariadne Conill 2021-08-17 15:18:47 -06:00
parent 41bff10998
commit df1b671c83
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ pkgconf_dependency_free(pkgconf_list_t *list)
pkgconf_dependency_t *dep = node->data;
if (dep->match != NULL)
pkgconf_pkg_unref(NULL, dep->match);
pkgconf_pkg_unref(dep->match->owner, dep->match);
if (dep->package != NULL)
free(dep->package);