summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2015-08-10 21:42:37 +0200
committerAllan McRae <allan@archlinux.org>2015-10-21 15:06:25 +1000
commit19d373c9b95ff5c9ee6d5a4cdb097670f69068d4 (patch)
tree88dae876f5e5986f5800036e4e70053fa92509a5 /doc
parent4b3df10d5d53af94475e006c71ed262efcab6f0f (diff)
downloadpacman-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 'doc')
0 files changed, 0 insertions, 0 deletions