Summary:
Coverity reports that we leak old_chain & chain variables here if we return.
Add an eina_array_free for both to clean this up.
Fixes Coverity CID1396984,CID1396965
@fix
Depends on D8353
Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt
Reviewed By: cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8355
{
//the correct one is focused
if (node->redirect_manager == pd->redirect)
- return;
+ goto end;
}
//make sure this manager is in the chain of redirects
while (eina_array_count(old_chain) > 1)
efl_event_callback_call(eina_array_pop(old_chain), EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED, (void*)EINA_FALSE);
+end:
eina_array_free(old_chain);
eina_array_free(chain);
}