[PATCH] list.h: don't crash when removing an element from a NULL list

Keith Packard keithp at keithp.com
Wed Jul 4 23:32:38 PDT 2012

Peter Hutterer <peter.hutterer at who-t.net> writes:

> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> Keith, please merge this directly if you're happy with it.

It looks fine, but I don't see any place that this actually matters in
current code?

(the more I see of these twisty list macros, the more I prefer
open-coded lists though; wow this is hard to understand).

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120704/aca13693/attachment.pgp>

More information about the xorg-devel mailing list