aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-12-16 10:39:20 +0000
committerTom Hacohen <tom@stosb.com>2015-12-16 10:39:20 +0000
commit91859748e38d4f29f7ecd85415848818fe8aa4b4 (patch)
tree14bb0f7c0e25a0c20d18520a8272a385b9353c1b /legacy/elementary/src/lib/elm_win.c
parenthoversel: accessibility enhancements (diff)
downloadefl-91859748e38d4f29f7ecd85415848818fe8aa4b4.tar.gz
Elm win: Fix potential NULL deref.
Looking at other parts of the code, this could actually be NULL. CID1343344
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 0012445bd9..ad91669c28 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -851,6 +851,7 @@ static void
_elm_win_pre_render(Ecore_Evas *ee)
{
Elm_Win_Data *sd = _elm_win_associate_get(ee);
+ if (!sd) return;
if (sd->deferred_resize_job)
_elm_win_resize_job(sd->obj);