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:
f2a1f14
)
evas: let's check NULL for destination object to.
author
Cedric BAIL
<cedric.bail@samsung.com>
Fri, 14 Mar 2014 02:44:49 +0000
(11:44 +0900)
committer
Cedric BAIL
<cedric.bail@samsung.com>
Fri, 14 Mar 2014 02:44:49 +0000
(11:44 +0900)
Fix CID 1191976.
src/lib/evas/canvas/evas_object_image.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/canvas/evas_object_image.c
b/src/lib/evas/canvas/evas_object_image.c
index
7adc3ce
..
bee8651
100644
(file)
--- a/
src/lib/evas/canvas/evas_object_image.c
+++ b/
src/lib/evas/canvas/evas_object_image.c
@@
-598,7
+598,12
@@
_evas_image_source_set(Eo *eo_obj, Evas_Image_Data *o, Evas_Object *eo_src)
}
if (!src->layer)
{
- CRI("No evas surface associated with source object (%p)", eo_obj);
+ CRI("No evas surface associated with source object (%p)", eo_src);
+ return EINA_FALSE;
+ }
+ if (!obj->layer)
+ {
+ CRI("No evas surface associated with destination object (%p)", eo_obj);
return EINA_FALSE;
}
if ((obj->layer && src->layer) &&