From 75d965b828a05e8802da0ebdc8c905c68f4f0d8d Mon Sep 17 00:00:00 2001 From: cedric Date: Thu, 8 Dec 2011 16:21:49 +0000 Subject: [PATCH] edje: we never call perror. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@66041 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_util.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib/edje_util.c b/src/lib/edje_util.c index dbb37a7..110c423 100644 --- a/src/lib/edje_util.c +++ b/src/lib/edje_util.c @@ -2110,11 +2110,7 @@ _edje_box_layout_external_new(const char *name, Evas_Object_Box_Layout func, voi name_len = strlen(name) + 1; l = malloc(sizeof(Edje_Box_Layout) + name_len); - if (!l) - { - perror("malloc"); - return NULL; - } + if (!l) return NULL; l->func = func; l->layout_data_get = layout_data_get; -- 2.7.4