ecore_imf: add free memory code in ecore_imf_context_preedit_string_with_attributes_get example

SVN revision: 69487
This commit is contained in:
Jihoon Kim 2012-03-17 10:44:04 +00:00
parent fed5f79433
commit 660efe9d33
1 changed files with 8 additions and 0 deletions

View File

@ -477,6 +477,14 @@ 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);
* }
*
* free(preedit_string);
* @endcode
* @since 1.1.0
*/