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 07:06:25 +0200 |
commit | 19d373c9b95ff5c9ee6d5a4cdb097670f69068d4 (patch) | |
tree | 88dae876f5e5986f5800036e4e70053fa92509a5 /lib/libalpm/md5.c | |
parent | 4b3df10d5d53af94475e006c71ed262efcab6f0f (diff) | |
download | pacman-19d373c9b95ff5c9ee6d5a4cdb097670f69068d4.tar.gz pacman-19d373c9b95ff5c9ee6d5a4cdb097670f69068d4.tar.xz |
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 'lib/libalpm/md5.c')
0 files changed, 0 insertions, 0 deletions