From: Daniel Kolesa Date: Sun, 24 Aug 2014 13:22:02 +0000 (+0100) Subject: eolian: do not free insides of field_list X-Git-Tag: upstream/1.11.0+317+g6c7e5b0~121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=230758a858594a362b390ccaba288c46137f9101;p=platform%2Fupstream%2Fefl.git eolian: do not free insides of field_list After field_list was migrated from stringshare to struct, I forgot to change this. --- diff --git a/src/lib/eolian/database_type.c b/src/lib/eolian/database_type.c index c22e2895d7..efbd5adf83 100644 --- a/src/lib/eolian/database_type.c +++ b/src/lib/eolian/database_type.c @@ -15,8 +15,7 @@ database_type_del(Eolian_Type *tp) if (tp->name) eina_stringshare_del(tp->name); if (tp->full_name) eina_stringshare_del(tp->full_name); if (tp->fields) eina_hash_free(tp->fields); - if (tp->field_list) EINA_LIST_FREE(tp->field_list, sp) - eina_stringshare_del(sp); + if (tp->field_list) eina_list_free(tp->field_list); if (tp->namespaces) EINA_LIST_FREE(tp->namespaces, sp) eina_stringshare_del(sp); if (tp->comment) eina_stringshare_del(tp->comment);