]> Pileus Git - ~andy/gtk/commit
rbtree: Replace nil node allocation with a preallocated nil
authorBenjamin Otte <otte@redhat.com>
Tue, 22 Nov 2011 00:32:28 +0000 (01:32 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 22 Nov 2011 02:32:56 +0000 (03:32 +0100)
commit73a834336fd8d67cde6c9739e88744f96af57ceb
tree0469a92d5d435e4b3ecd7a141d8b03e1377b7f03
parentfa894233468cc3911d35d649156971764b7790f3
rbtree: Replace nil node allocation with a preallocated nil

This has one major caveat: The new value is const, so read-only memory.
Any attempt to write to it will cause a crash. Note that we are not ever
supposed to write to it, but bugs happen...
gtk/gtkrbtree.c