summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_shm/evas_engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/wayland_shm/evas_engine.c')
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_engine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c b/src/modules/evas/engines/wayland_shm/evas_engine.c
index 3a3623a567..041dfa9e54 100644
--- a/src/modules/evas/engines/wayland_shm/evas_engine.c
+++ b/src/modules/evas/engines/wayland_shm/evas_engine.c
@@ -243,6 +243,8 @@ eng_image_native_set(void *engine EINA_UNUSED, void *image, void *native)
243 NULL, 1, 243 NULL, 1,
244 EVAS_COLORSPACE_ARGB8888); 244 EVAS_COLORSPACE_ARGB8888);
245 245
246 EINA_SAFETY_ON_NULL_RETURN_VAL(im2, im);
247
246 if (im->native.data) 248 if (im->native.data)
247 { 249 {
248 if (im->native.func.free) 250 if (im->native.func.free)