projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb19804
)
Evas: Filter: Handle memory alloc error a little more gracefully
author
Brett Nash
<nash@nash.id.au>
Wed, 20 Apr 2011 14:44:26 +0000
(14:44 +0000)
committer
Brett Nash
<nash@nash.id.au>
Wed, 20 Apr 2011 14:44:26 +0000
(14:44 +0000)
In this case, just set the filter type to none.
SVN revision: 58761
legacy/evas/src/lib/canvas/evas_filter.c
patch
|
blob
|
history
diff --git
a/legacy/evas/src/lib/canvas/evas_filter.c
b/legacy/evas/src/lib/canvas/evas_filter.c
index
82ae342
..
1871215
100644
(file)
--- a/
legacy/evas/src/lib/canvas/evas_filter.c
+++ b/
legacy/evas/src/lib/canvas/evas_filter.c
@@
-208,6
+208,8
@@
evas_object_filter_set(Evas_Object *o, Evas_Filter filter)
info->data = calloc(1, finfo->datasize);
if (!info->data)
{
+ o->filter = EVAS_FILTER_NONE;
+ return EINA_FALSE;
}
}
else