Change-Id: I7e79ae4120b1f24165d779884645fcb6b7ac12dc
static inline Eina_List *
_eina_list_mempool_list_new(Eina_List *before, Eina_List *after)
{
- Eina_List *tmp;
-
- tmp = eina_mempool_malloc_near(_eina_list_mp, before, after, sizeof (Eina_List));
+//TIZEN_ONLY(20230131): Check if list initialization is done
+ Eina_List *tmp = NULL;
+ if (_eina_list_mp)
+ tmp = eina_mempool_malloc_near(_eina_list_mp, before, after, sizeof (Eina_List));
+//
if (!tmp)
return NULL;
#ifdef EINA_LIST_MAGIC