Relax memory requirements on 64bit platforms; fix two memleaks.
This commit is contained in:
1 parent
6a9e394a60
commit
db1efb3aa6
33 files changed
+83
-74
No files matched your search
+2
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user