index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2014-11-18 00:47:19 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-11-18 11:58:26 +1000 |
commit | 5d11605958dd9d07f902287468104a996b3bddcc (patch) | |
tree | da254ea8a96059b30064d14fe528a244ff3e2009 /lib/libalpm | |
parent | 5d618438c4831af92e82251051a128e8591fef59 (diff) |
-rw-r--r-- | lib/libalpm/add.c | 2 |
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 1d491fa5..725f2b5c 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -317,7 +317,7 @@ static int extract_single_file(alpm_handle_t *handle, struct archive *archive, if(!backup->name || strcmp(backup->name, entryname_orig) != 0) { continue; } - STRDUP(newhash, hash_pkg, RET_ERR(handle, ALPM_ERR_MEMORY, -1)); + STRDUP(newhash, hash_pkg, errors++; handle->pm_errno = ALPM_ERR_MEMORY; goto needbackup_cleanup); FREE(backup->hash); backup->hash = newhash; } |