mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 03:53:51 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue