diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-11-15 03:02:07 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-01-06 05:38:49 +0100 |
commit | 6f468c2465f4bfdcf4779c920899a960857c7361 (patch) | |
tree | e542a71075b0c135dc984805b6cbbcb7da99bb5c /lib/libalpm/add.h | |
parent | 6a656c7429c6fce44abf6f83657dd7b423979cd9 (diff) | |
download | pacman-6f468c2465f4bfdcf4779c920899a960857c7361.tar.gz pacman-6f468c2465f4bfdcf4779c920899a960857c7361.tar.xz |
deps.c: remove filtered_depend functions
filtered_dep was duplicating an alpm_depend_t solely for the purpose of
overriding its depmod and would effectively cause alpm_checkdeps to
ignore ALPM_TRANS_FLAG_NODEPVERSION if the duplication failed. Manually
overriding/restoring the depmod for the original depend removes the
duplication as a point of failure and fixes a memory leak where the
duplicated depend was not being properly freed.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.h')
0 files changed, 0 insertions, 0 deletions