Commit 463ab1b9 authored by Rémi Duraffort's avatar Rémi Duraffort

xlist: last can't be NULL here (invalidate CID 50)

parent 543a4d3b
......@@ -116,7 +116,7 @@ xlist_append (XList * list, void * data)
if (list == NULL) return l;
last = xlist_tail (list);
if (last) last->next = l;
last->next = l;
l->prev = last;
return list;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment