diff options
author | Sören Brinkmann <soeren.brinkmann@gmail.com> | 2014-03-12 03:29:21 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-03-27 06:16:50 +0100 |
commit | fcf0cefd1a9ae9bd3319c82a77ed38d7a2bc8db3 (patch) | |
tree | 693a411b2640b7b79b2778f16c24449e0f88173a /lib/libalpm/package.c | |
parent | 3ebb7b94d92cbdbf3f03ba8f13e15df7dca26e20 (diff) | |
download | pacman-fcf0cefd1a9ae9bd3319c82a77ed38d7a2bc8db3.tar.gz pacman-fcf0cefd1a9ae9bd3319c82a77ed38d7a2bc8db3.tar.xz |
pacman/upgrade: Refactor memory management
Refactor the upgrade routine to use an array that can be allocated in
one step instead of an alpm_list that is gradually extended in loops.
Signed-off-by: Sören Brinkmann <soeren.brinkmann@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
0 files changed, 0 insertions, 0 deletions