From c693f2f05c05c7df4af46c885de244b7bb371c57 Mon Sep 17 00:00:00 2001 From: jihoon Date: Wed, 28 Mar 2012 11:03:11 +0000 Subject: [PATCH] ecore_imf: remove NULL check prior to EINA_LIST_FREE EINA_LIST_FREE checks whether its parameter is NULL or not Thanks, Sebastian. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@69703 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_imf/ecore_imf_context.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c index 9f065ba..a2e5388 100644 --- a/src/lib/ecore_imf/ecore_imf_context.c +++ b/src/lib/ecore_imf/ecore_imf_context.c @@ -493,10 +493,7 @@ ecore_imf_context_preedit_string_get(Ecore_IMF_Context *ctx, char **str, int *cu * } * * // delete attribute list - * if (attrs) - * { - * EINA_LIST_FREE(attrs, attr) free(attr); - * } + * EINA_LIST_FREE(attrs, attr) free(attr); * * free(preedit_string); * @endcode -- 2.7.4