evas/render - fix segfault because of null cow access.

issue ticket: T1252

@fixed
This commit is contained in:
ChunEon Park 2014-05-19 22:42:36 +09:00
parent 64f35d4615
commit c3cd680fad
1 changed files with 1 additions and 2 deletions

View File

@ -2465,8 +2465,7 @@ _evas_render_dump(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e)
e->engine.func->output_dump(e->engine.data.output);
#define GC_ALL(Cow) \
while (eina_cow_gc(Cow))
if (Cow) while (eina_cow_gc(Cow))
GC_ALL(evas_object_proxy_cow);
GC_ALL(evas_object_map_cow);
GC_ALL(evas_object_image_pixels_cow);