diff options
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r-- | lib/libalpm/package.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |