diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-11-14 21:02:07 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-01-06 14:38:49 +1000 |
commit | 6f468c2465f4bfdcf4779c920899a960857c7361 (patch) | |
tree | e542a71075b0c135dc984805b6cbbcb7da99bb5c /test | |
parent | 6a656c7429c6fce44abf6f83657dd7b423979cd9 (diff) |
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 'test')
0 files changed, 0 insertions, 0 deletions