diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2008-01-12 21:27:13 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-13 00:51:29 +0100 |
commit | 435ec29bc75fc9efd81472ce2f53d081f8be14b8 (patch) | |
tree | 909dc12f442d5b8f9c5b24cecf07a668d9e33bad /lib/libalpm/trans.h | |
parent | 26f4993e1d67a7daae1dcac47e112f9b15a6bf97 (diff) | |
download | pacman-435ec29bc75fc9efd81472ce2f53d081f8be14b8.tar.gz 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/trans.h')
0 files changed, 0 insertions, 0 deletions