Removed memory allocation failure warnings

glib calls abort() whenever a memory allocation fails, so this code was
useless. See http://www.gtk.org/api/2.6/glib/glib-Memory-Allocation.html