plist.c: fix a leak in xbps_find_pkg_installed_from_plist().
--HG-- extra : convert_revision : 50b23bcd6f0821a9ed8b8598f5d4b05fd8197919
This commit is contained in:
parent
f1f34487e2
commit
01a12891ef
|
@ -167,7 +167,7 @@ xbps_find_pkg_installed_from_plist(const char *pkgname)
|
|||
pkgd = xbps_find_pkg_from_plist(plist, pkgname);
|
||||
free(plist);
|
||||
|
||||
return prop_dictionary_copy(pkgd);
|
||||
return pkgd;
|
||||
}
|
||||
|
||||
prop_dictionary_t
|
||||
|
|
Loading…
Reference in New Issue