index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2006-03-01 07:51:00 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-03-01 07:51:00 +0000 |
commit | 0b4ab2c0a80e8581e2caa50e809af7f5573c0e48 (patch) | |
tree | 27a907f06e52ecb8ea1c5931350993bd38c89a06 /lib/libalpm/package.c | |
parent | ce4c043805865f745e6aa8762455a2f9b19b25cd (diff) |
-rw-r--r-- | lib/libalpm/package.c | 1 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 4f2bcaaa..b7d2cb5b 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -41,6 +41,7 @@ pmpkg_t *_alpm_pkg_new(const char *name, const char *version) pkg = (pmpkg_t *)malloc(sizeof(pmpkg_t)); if(pkg == NULL) { + _alpm_log(PM_LOG_ERROR, "malloc failure: could not allocate %d bytes", sizeof(pmpkg_t)); RET_ERR(PM_ERR_MEMORY, NULL); } |