edje: we never call perror.

SVN revision: 66041
This commit is contained in:
Cedric BAIL 2011-12-08 16:21:49 +00:00
parent e845e82b30
commit 1fd0dff3bc
1 changed files with 1 additions and 5 deletions

View File

@ -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;