pacman/src/util
Rikard Falkeborn 19d373c9b9 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>
2015-10-21 15:06:25 +10:00
..
.gitignore Remove testdb 2015-01-02 21:44:59 +10:00
Makefile.am Fix compilation if libarchive headers are not in standard location 2015-05-12 14:00:54 +10:00
cleanupdelta.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
pacsort.c pacsort: handle failing list_add 2015-10-21 15:06:25 +10:00
pactree.c move strtrim to util-common 2015-09-20 17:36:27 +10:00
testpkg.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00
util-common.c util: Use util-common for strndup in pacsort and pactree 2015-03-03 16:54:17 +10:00
util-common.h util: Use util-common for strndup in pacsort and pactree 2015-03-03 16:54:17 +10:00
vercmp.c Update copyright notices for 2015 2015-02-01 21:19:04 +10:00