From: Joogab Yun Date: Tue, 23 May 2017 23:55:47 +0000 (+0900) Subject: [evas_native_tbm] memory is mapped but not unmapped properly leads to X-Git-Tag: accepted/tizen/unified/20170531.082540~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F130763%2F2;p=platform%2Fupstream%2Fefl.git [evas_native_tbm] memory is mapped but not unmapped properly leads to quick low memory (_evas_common_rgba_image_surface_mmap/_evas_common_rgba_image_surface_munmap) because setting NULL to image.date at _native_free_cb() before proper unmamp Change-Id: Ia5cdaa8bc49698b87f3e77ee879dfde979240d59 --- diff --git a/src/modules/evas/engines/software_generic/evas_native_tbm.c b/src/modules/evas/engines/software_generic/evas_native_tbm.c index 54d94de..cca5e1d 100644 --- a/src/modules/evas/engines/software_generic/evas_native_tbm.c +++ b/src/modules/evas/engines/software_generic/evas_native_tbm.c @@ -285,7 +285,6 @@ _native_free_cb(void *data EINA_UNUSED, void *image) im->native.func.unbind = NULL; im->native.func.free = NULL; im->native.func.data = NULL; - im->image.data = NULL; free(n); tbm_shutdown();