Elm win: Fix potential NULL deref.

Looking at other parts of the code, this could actually be
NULL.

CID1343344
This commit is contained in:
Tom Hacohen 2015-12-16 10:39:20 +00:00
parent 1e0304ea43
commit 91859748e3
1 changed files with 1 additions and 0 deletions

View File

@ -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);