forked from ariadne/pkgconf
dependency: use dependency match owner with pkgconf_pkg_unref()
parent
41bff10998
commit
df1b671c83
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue