[evas_native_tbm] memory is mapped but not unmapped properly leads to 63/130763/2
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 23 May 2017 23:55:47 +0000 (08:55 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Wed, 24 May 2017 09:53:54 +0000 (09:53 +0000)
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

src/modules/evas/engines/software_generic/evas_native_tbm.c

index 54d94de..cca5e1d 100644 (file)
@@ -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();