fix clang bad free complaint to deal with data magic value

This commit is contained in:
Carsten Haitzler 2013-07-16 18:11:50 +09:00
parent e1e50b8387
commit a8e80514dc
1 changed files with 1 additions and 1 deletions

View File

@ -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