Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2015-01-21 14:27:25 +1000
committerAllan McRae <allan@archlinux.org>2015-01-21 14:27:25 +1000
commit92febc847cf60b12706c64e4786dae909a9396ac (patch)
tree44771538071061e92efb011e7150ac7c788a6d60 /lib/libalpm/util.c
parent018fa2b48c95492312ff3830b368a1f6036d6cf6 (diff)
parentc6263da168f7d612ea221e868fe42ad2ed706fa9 (diff)
Merge branch 'maint'
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r--lib/libalpm/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index 22408d70..ffd3c73d 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -1328,7 +1328,7 @@ void *_alpm_greedy_grow(void **data, size_t *current, const size_t required)
return NULL;
}
- return _alpm_realloc(data, current, required);
+ return _alpm_realloc(data, current, newsize);
}
void _alpm_alloc_fail(size_t size)