elm_diskselector: check if sd variable is null.
authormichelle legrand <michelle.legrand@openwide.fr>
Fri, 30 Jan 2015 09:47:09 +0000 (10:47 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 26 Mar 2015 17:13:27 +0000 (18:13 +0100)
commit65bb320c00ffeb938738c43c813baf3a66ae1807
tree389b756e96b69dfb9f99a4ddd28f637f35679b84
parentce1d59bcbe8ce87316b7bd9c7d1d2261047c9f8d
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>
legacy/elementary/src/lib/elm_diskselector.c