hermet pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=69352e7abe36e8241b78f75771d2e397e36aac97
commit 69352e7abe36e8241b78f75771d2e397e36aac97 Author: Yeongjong Lee <yj34....@samsung.com> Date: Wed Feb 12 16:45:40 2020 +0900 efl_ui_position_manager_list: add NULL check for memory allocation Reviewers: Jaehyun_Cho, Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11312 --- src/lib/elementary/efl_ui_position_manager_list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elementary/efl_ui_position_manager_list.c b/src/lib/elementary/efl_ui_position_manager_list.c index 6424b4bf4d..dd90b12b2b 100644 --- a/src/lib/elementary/efl_ui_position_manager_list.c +++ b/src/lib/elementary/efl_ui_position_manager_list.c @@ -69,6 +69,7 @@ cache_require(Eo *obj EINA_UNUSED, Efl_Ui_Position_Manager_List_Data *pd) } pd->size_cache = calloc(pd->size + 1, sizeof(int)); + if (!pd->size_cache) return; pd->size_cache[0] = 0; pd->maximum_min_size = 0; --