elm_diskselector: check if sd variable is null.

Summary:
This causes a segmentation fault when closing the DiskSelector window
on Windows.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
michelle legrand 2015-01-30 10:47:09 +01:00 committed by Cedric BAIL
parent ce1d59bcbe
commit 65bb320c00
1 changed files with 3 additions and 0 deletions

View File

@ -146,6 +146,9 @@ _string_check_idle_enterer_cb(void *data)
Evas_Coord ox, ow;
char buf[1024];
if (!sd)
return ECORE_CALLBACK_CANCEL;
evas_object_geometry_get(obj, &ox, NULL, &ow, NULL);
if (ow <= 0)