elc_naviframe.c: Check value before dereferencing it.
This fixes coverity CID 1099698.
This commit is contained in:
parent
e756f97dae
commit
cec2f74648
|
@ -1283,7 +1283,7 @@ _elm_naviframe_smart_focus_next(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
|
|||
if (ret) *ret = int_ret;
|
||||
|
||||
end:
|
||||
if (!*ret)
|
||||
if (ret && !*ret)
|
||||
{
|
||||
*next = obj;
|
||||
*ret = !elm_widget_focus_get(obj);
|
||||
|
|
Loading…
Reference in New Issue