summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_shm/evas_shm.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-02 21:47:18 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-02 21:53:23 +0900
commitd42ec53154b79257ec727ad012b9bcbee900ddaf (patch)
treefc420d43e40441072b68b7e34a70a9449591a5a2 /src/modules/evas/engines/wayland_shm/evas_shm.c
parent6e30535a3c39efa5ce1662e3f42753dde9c48681 (diff)
wayland_shm - clean out ptrs after free - seeing invalid mem/ptr access
enlightenment internal windows insta segv e on rpi. after much hunting it seems a fallback is happening and bunk ptrs are being used. this at least will make the problems more reliable with null ptrs.
Diffstat (limited to 'src/modules/evas/engines/wayland_shm/evas_shm.c')
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_shm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c b/src/modules/evas/engines/wayland_shm/evas_shm.c
index 031b90fd35..8a622f693d 100644
--- a/src/modules/evas/engines/wayland_shm/evas_shm.c
+++ b/src/modules/evas/engines/wayland_shm/evas_shm.c
@@ -394,6 +394,7 @@ _evas_shm_surface_destroy(Surface *surface)
394 _shm_leaf_destroy(&surface->surf.shm->leaf[i]); 394 _shm_leaf_destroy(&surface->surf.shm->leaf[i]);
395 395
396 free(surface->surf.shm); 396 free(surface->surf.shm);
397 surface->surf.shm = NULL;
397} 398}
398 399
399void 400void