ecore_imf: remove NULL check prior to EINA_LIST_FREE
authorjihoon <jihoon@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 28 Mar 2012 11:03:11 +0000 (11:03 +0000)
committerjihoon <jihoon@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 28 Mar 2012 11:03:11 +0000 (11:03 +0000)
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

index 9f065ba..a2e5388 100644 (file)
@@ -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