efl_ui_progressbar: add null check
authorBowon Ryu <bowon.ryu@samsung.com>
Fri, 20 Apr 2018 09:44:07 +0000 (18:44 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 20 Apr 2018 11:39:30 +0000 (20:39 +0900)
commitd0cf8f7d19d5e317a1dad44f17df2755f4fd68fb
tree2a93848079236775a0e1b8f020baa86d9e4e6515
parent421a91c9641ffebe4b2a75cafdf7a02a00144ea7
efl_ui_progressbar: add null check

Summary: a segmentation fault occurs once the argument is not valid.

Test Plan: N/A

Reviewers: cedric, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5974

Change-Id: I0936de4e70d45e0c7997aa640a73371664a743b1
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/lib/elementary/efl_ui_progressbar.c