From 01a12891ef27742ce45077ed078946fda7cd3854 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 1 Mar 2009 17:32:52 +0100 Subject: [PATCH] plist.c: fix a leak in xbps_find_pkg_installed_from_plist(). --HG-- extra : convert_revision : 50b23bcd6f0821a9ed8b8598f5d4b05fd8197919 --- lib/plist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plist.c b/lib/plist.c index b07c1731a12..0d44acb1508 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -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