diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2015-08-10 21:42:37 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-10-21 15:06:25 +1000 |
commit | 19d373c9b95ff5c9ee6d5a4cdb097670f69068d4 (patch) | |
tree | 88dae876f5e5986f5800036e4e70053fa92509a5 /test/scripts/makepkg-template-tests/invalid-template-line-missing-name/testcase-config | |
parent | 4b3df10d5d53af94475e006c71ed262efcab6f0f (diff) |
pacsort: handle failing list_add
Since it can fail, check the return value.
If it fails, we need to free the memory of the object we wanted
to add to the list.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/scripts/makepkg-template-tests/invalid-template-line-missing-name/testcase-config')
0 files changed, 0 insertions, 0 deletions