summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2013-12-10 20:37:17 +0100
committerSebastian Dransfeld <sd@tango.flipp.net>2013-12-10 20:37:17 +0100
commitae8a067e6dd1d9e7035571dc7d260597505e776f (patch)
tree645aeaf6103b1569a19dc300570953ec3fff1695 /src
parent06a85fca4d37bc37337a682f62f1c783ecb4a7c0 (diff)
e: Check whether allocation succeeds
CID 1039865
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_container.c b/src/bin/e_container.c
index 636fef7c4..fc354af76 100644
--- a/src/bin/e_container.c
+++ b/src/bin/e_container.c
@@ -339,6 +339,7 @@ e_container_shape_add(E_Container *con)
339 E_OBJECT_TYPE_CHECK_RETURN(con, E_CONTAINER_TYPE, 0); 339 E_OBJECT_TYPE_CHECK_RETURN(con, E_CONTAINER_TYPE, 0);
340 340
341 es = E_OBJECT_ALLOC(E_Container_Shape, E_CONTAINER_SHAPE_TYPE, _e_container_shape_free); 341 es = E_OBJECT_ALLOC(E_Container_Shape, E_CONTAINER_SHAPE_TYPE, _e_container_shape_free);
342 if (!es) return NULL;
342 E_OBJECT_DEL_SET(es, _e_container_shape_del); 343 E_OBJECT_DEL_SET(es, _e_container_shape_del);
343 es->con = con; 344 es->con = con;
344 con->shapes = eina_list_append(con->shapes, es); 345 con->shapes = eina_list_append(con->shapes, es);