summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-11-12 16:23:33 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-11-12 16:23:33 +0900
commit04e3d8cc3d67317e9508f1f1e5ffd1b7d61b43d7 (patch)
tree7065b01a93277d414a82cd5069a534a4626f6736
parent7d97abc05b0a7a4fd146bffb29e3d9a4c9ecc567 (diff)
evas_device: Fix typo in evas_device_pop
Summary: Fix wrong null check Test Plan: N/A Reviewers: cedric, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10648
-rw-r--r--src/lib/evas/canvas/evas_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_device.c b/src/lib/evas/canvas/evas_device.c
index 1652e79..1121325 100644
--- a/src/lib/evas/canvas/evas_device.c
+++ b/src/lib/evas/canvas/evas_device.c
@@ -289,7 +289,7 @@ evas_device_pop(Evas *eo_e)
289 Evas_Device *dev; 289 Evas_Device *dev;
290 290
291 Evas_Public_Data *e = efl_data_scope_safe_get(eo_e, EVAS_CANVAS_CLASS); 291 Evas_Public_Data *e = efl_data_scope_safe_get(eo_e, EVAS_CANVAS_CLASS);
292 if (e) return ; 292 if (!e) return ;
293 dev = eina_array_pop(e->cur_device); 293 dev = eina_array_pop(e->cur_device);
294 if (dev) efl_unref(dev); 294 if (dev) efl_unref(dev);
295} 295}