1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

added a debug log

This commit is contained in:
Aurelien Foret 2006-03-02 19:00:57 +00:00
parent 0b4ab2c0a8
commit 79f4b5acf4

View File

@ -46,6 +46,7 @@ pmhandle_t *handle_new()
handle = (pmhandle_t *)malloc(sizeof(pmhandle_t));
if(handle == NULL) {
_alpm_log(PM_LOG_ERROR, "malloc failure: could not allocate %d bytes", sizeof(pmhandle_t));
RET_ERR(PM_ERR_MEMORY, NULL);
}