summaryrefslogtreecommitdiff
path: root/src/modules/emotion/generic
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-11 19:54:15 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-11 19:54:15 +0900
commit1dc9f1fecea09a22b6465d513c59d990440f726f (patch)
tree8558443b273896baa73f06c76fd68a7cdbbabc8c /src/modules/emotion/generic
parent98293fadb18ec5d0171144f048eb62e42252770e (diff)
emotion - generic module - re-order code to make coverty happy
this fixes CID 1039884 which isn't a real problem as the callback del never dereferences the data pointer - just uses it as a value, but this is really to ensure that it doesn't come back if the code were to change.
Diffstat (limited to 'src/modules/emotion/generic')
-rw-r--r--src/modules/emotion/generic/emotion_generic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/emotion/generic/emotion_generic.c b/src/modules/emotion/generic/emotion_generic.c
index ddb1fb3808..02de70732e 100644
--- a/src/modules/emotion/generic/emotion_generic.c
+++ b/src/modules/emotion/generic/emotion_generic.c
@@ -997,11 +997,10 @@ _delayed_munmap(void *data, Evas *e, void *event_info EINA_UNUSED)
997{ 997{
998 Delay_Munmap *dm = data; 998 Delay_Munmap *dm = data;
999 999
1000 evas_event_callback_del_full(e, EVAS_CALLBACK_RENDER_POST, _delayed_munmap, data);
1000 fprintf(stderr, "munmapping !\n"); 1001 fprintf(stderr, "munmapping !\n");
1001 munmap(dm->map, dm->size); 1002 munmap(dm->map, dm->size);
1002 free(dm); 1003 free(dm);
1003
1004 evas_event_callback_del_full(e, EVAS_CALLBACK_RENDER_POST, _delayed_munmap, data);
1005} 1004}
1006 1005
1007static void 1006static void