projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06a85fc
)
e: Check whether allocation succeeds
author
Sebastian Dransfeld
<sd@tango.flipp.net>
Tue, 10 Dec 2013 19:37:17 +0000
(20:37 +0100)
committer
Sebastian Dransfeld
<sd@tango.flipp.net>
Tue, 10 Dec 2013 19:37:17 +0000
(20:37 +0100)
CID 1039865
src/bin/e_container.c
patch
|
blob
|
history
diff --git
a/src/bin/e_container.c
b/src/bin/e_container.c
index
636fef7
..
fc354af
100644
(file)
--- a/
src/bin/e_container.c
+++ b/
src/bin/e_container.c
@@
-339,6
+339,7
@@
e_container_shape_add(E_Container *con)
E_OBJECT_TYPE_CHECK_RETURN(con, E_CONTAINER_TYPE, 0);
es = E_OBJECT_ALLOC(E_Container_Shape, E_CONTAINER_SHAPE_TYPE, _e_container_shape_free);
+ if (!es) return NULL;
E_OBJECT_DEL_SET(es, _e_container_shape_del);
es->con = con;
con->shapes = eina_list_append(con->shapes, es);