In e_policy_visibility_client_uniconify_by_visibility_job_cancel, we freed wait_buf_attach_grab_list,
and then we tried to call _e_vis_grab_release. So, no grab was freed.
To fix this, we add code to clone the wait_buf_attach_grab_list first.
Then, we free the wait_buf_attach_grab_list, and call the _e_vis_grab_release using cloned list.
Change-Id: I70636d159b0b6558b967b08ce4212879403760bb
E_Vis_Grab *grab;
Eina_List *l;
- l = vc->wait_buf_attach_grab_list;
+ l = eina_list_clone(vc->wait_buf_attach_grab_list);
vc->wait_buf_attach_grab_list = eina_list_free(vc->wait_buf_attach_grab_list);
EINA_LIST_FREE(l, grab)
{