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

@ -121,7 +121,7 @@ xbps_pkg_name(const char *pkg)
{
const char *p;
char *buf;
size_t len;
unsigned int len;
if ((p = strrchr(pkg, '-')) == NULL)
return NULL;
@ -143,7 +143,7 @@ char *
xbps_pkgpattern_name(const char *pkg)
{
char *res, *pkgname;
size_t len;
unsigned int len;
assert(pkg != NULL);