lib/package_unpack.c: fixed two memleaks.

This commit is contained in:
Juan RP 2013-08-29 12:06:04 +02:00
parent c04d54f020
commit 20fb38142b

View File

@ -604,6 +604,8 @@ unpack_archive(struct xbps_handle *xhp,
0, pkgver, "%s: removed obsolete entry: %s", pkgver, file);
xbps_object_release(obj);
}
xbps_object_release(old_filesd);
xbps_object_release(obsoletes);
out:
if (xbps_object_type(filesd) == XBPS_TYPE_DICTIONARY)