diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2008-01-12 21:27:13 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-12 17:51:29 -0600 |
commit | 435ec29bc75fc9efd81472ce2f53d081f8be14b8 (patch) | |
tree | 909dc12f442d5b8f9c5b24cecf07a668d9e33bad /lib/libalpm/util.c | |
parent | 26f4993e1d67a7daae1dcac47e112f9b15a6bf97 (diff) | |
download | pacman-435ec29bc75fc9efd81472ce2f53d081f8be14b8.tar.xz |
libalpm/sync.c: don't duplicate packages for the sync->data field.
Packages put in the sync->data field were always duplicated with pkg_dup,
and then freed, This is not needed.
Killing this duplication of packages made the memory usage during base
reinstall go from 10.4 MB to 8.1 MB.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm/util.c')
0 files changed, 0 insertions, 0 deletions