forked from enlightenment/efl
fix clang bad free complaint to deal with data magic value
This commit is contained in:
parent
e1e50b8387
commit
a8e80514dc
|
@ -873,7 +873,7 @@ eina_value_list_node_memory_flush(const Eina_Value_Type *type, Eina_List *node)
|
|||
{
|
||||
if (type->value_size <= sizeof(void*))
|
||||
return;
|
||||
free(node->data);
|
||||
if (node->data != (void*)1L) free(node->data);
|
||||
}
|
||||
|
||||
static inline Eina_Bool
|
||||
|
|
Loading…
Reference in New Issue