Relax memory requirements on 64bit platforms; fix two memleaks.

This commit is contained in:
Juan RP
2013-06-12 10:04:10 +02:00
parent 6a9e394a60
commit db1efb3aa6
33 changed files with 83 additions and 74 deletions

View File

@ -166,6 +166,7 @@ xbps_set_pkg_state_installed(struct xbps_handle *xhp,
return EINVAL;
}
free(pkgname);
prop_object_release(pkgd);
} else {
if ((rv = set_new_state(pkgd, state)) != 0)
return rv;