diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-05-05 10:42:26 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-05-05 10:49:31 -0400 |
commit | bdfbd4a4e1e40f6e58f5f1f559418a59766041f8 (patch) | |
tree | 4b78b4b3fb33e4dfd54447cea914f005e8bad089 | |
parent | 4f4556be3514a55616c4dc1f038a686eb6a38d62 (diff) |
wayland_egl: return immediately in eng_window_free() when null is passed
-rw-r--r-- | src/modules/evas/engines/wayland_egl/evas_wl_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/evas/engines/wayland_egl/evas_wl_main.c b/src/modules/evas/engines/wayland_egl/evas_wl_main.c index 509e8ae1fe..489a475315 100644 --- a/src/modules/evas/engines/wayland_egl/evas_wl_main.c +++ b/src/modules/evas/engines/wayland_egl/evas_wl_main.c | |||
@@ -192,6 +192,7 @@ eng_window_free(Outbuf *gw) | |||
192 | { | 192 | { |
193 | int ref = 0; | 193 | int ref = 0; |
194 | 194 | ||
195 | if (!gw) return; | ||
195 | win_count--; | 196 | win_count--; |
196 | eng_window_use(gw); | 197 | eng_window_use(gw); |
197 | 198 | ||