plist.c: fix a leak in xbps_find_pkg_installed_from_plist().

--HG--
extra : convert_revision : 50b23bcd6f0821a9ed8b8598f5d4b05fd8197919
This commit is contained in:
Juan RP 2009-03-01 17:32:52 +01:00
parent f1f34487e2
commit 01a12891ef
1 changed files with 1 additions and 1 deletions

View File

@ -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