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.
This commit is contained in:
parent
98293fadb1
commit
1dc9f1fece
|
@ -997,11 +997,10 @@ _delayed_munmap(void *data, Evas *e, void *event_info EINA_UNUSED)
|
|||
{
|
||||
Delay_Munmap *dm = data;
|
||||
|
||||
evas_event_callback_del_full(e, EVAS_CALLBACK_RENDER_POST, _delayed_munmap, data);
|
||||
fprintf(stderr, "munmapping !\n");
|
||||
munmap(dm->map, dm->size);
|
||||
free(dm);
|
||||
|
||||
evas_event_callback_del_full(e, EVAS_CALLBACK_RENDER_POST, _delayed_munmap, data);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue