HomePhabricator

efl_ui_table: remove inlist items in EINA_INLIST_FREE macro

Authored by Yeongjong Lee <yj34.lee@samsung.com> on Aug 23 2019, 10:22 AM.

Description

efl_ui_table: remove inlist items in EINA_INLIST_FREE macro

Summary:
Check the EINA_INLIST_FREE document

in eina_inlist.h

NOTE: it is the duty of the body loop to properly remove the item from the
inlist and free it. This function will turn into a infinite loop if you
don't remove all items from the list.

This will avoid infinite loop when Efl.Ui.Table is invalidated.

ref T8145

Test Plan: See the test file in T8145

Reviewers: brunobelo, Jaehyun_Cho, zmike

Reviewed By: zmike

Subscribers: zmike, cedric, reviewers, committers

Tags: efl

Maniphest Tasks: T8145

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