Change-Id: I3f2ac9ec5f5dd22a5be28cd442abdccb1e448eb1
static void
_list_end(void *data, Ecore_Thread *th)
{
static void
_list_end(void *data, Ecore_Thread *th)
{
- EINA_SAFETY_ON_NULL_RETURN(data);
- EINA_SAFETY_ON_NULL_RETURN(th);
-
- if (th == st->list_th)
- {
- ecore_thread_cancel(st->list_th);
- st->list_th = NULL;
- }
+ if (th == st->list_th) st->list_th = NULL;
}
static void
_list_cancel(void *data, Ecore_Thread *th)
{
}
static void
_list_cancel(void *data, Ecore_Thread *th)
{
- EINA_SAFETY_ON_NULL_RETURN(data);
- EINA_SAFETY_ON_NULL_RETURN(th);
-
- if (th == st->list_th)
- {
- ecore_thread_cancel(st->list_th);
- st->list_th = NULL;
- }
+ if (th == st->list_th) st->list_th = NULL;
if (eina_list_count(header_list) == 0)
{
st->header_items = eina_list_remove(st->header_items, temp_header_list);
if (eina_list_count(header_list) == 0)
{
st->header_items = eina_list_remove(st->header_items, temp_header_list);
- header_list = eina_list_free(header_list);
}
else if(eina_list_count(header_list) == 1)
{
}
else if(eina_list_count(header_list) == 1)
{
elm_genlist_item_del(temp_sti->item);
free(temp_sti);
st->header_items = eina_list_remove(st->header_items, temp_header_list);
elm_genlist_item_del(temp_sti->item);
free(temp_sti);
st->header_items = eina_list_remove(st->header_items, temp_header_list);
- header_list = eina_list_free(header_list);
- temp_header_list = eina_list_free(temp_header_list);
+ temp_header_list = NULL;
if (eina_list_count(header_list) == 0)
{
st->header_items = eina_list_remove(st->header_items, temp_header_list);
if (eina_list_count(header_list) == 0)
{
st->header_items = eina_list_remove(st->header_items, temp_header_list);
- header_list = eina_list_free(header_list);
}
else if (eina_list_count(header_list) == 1)
{
}
else if (eina_list_count(header_list) == 1)
{
elm_genlist_item_del(temp_sti->item);
free(temp_sti);
st->header_items = eina_list_remove(st->header_items, temp_header_list);
elm_genlist_item_del(temp_sti->item);
free(temp_sti);
st->header_items = eina_list_remove(st->header_items, temp_header_list);
- header_list = eina_list_free(header_list);
- temp_header_list = eina_list_free(temp_header_list);
+ temp_header_list = NULL;