summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
diff options
context:
space:
mode:
authorJihoon Kim <imfine98@gmail.com>2012-03-17 10:44:04 +0000
committerJihoon Kim <imfine98@gmail.com>2012-03-17 10:44:04 +0000
commit660efe9d338730b8b111b18e570ca9a1f8b96161 (patch)
treee21ab13d2cdd9996f31419db4f5ea62a058cfb23 /legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
parentfed5f7943352b7bdd153c4a5564f6030728ee15e (diff)
ecore_imf: add free memory code in ecore_imf_context_preedit_string_with_attributes_get example
SVN revision: 69487
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c b/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
index 947de616fb..6392f9b225 100644
--- a/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
+++ b/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
@@ -477,6 +477,14 @@ ecore_imf_context_preedit_string_get(Ecore_IMF_Context *ctx, char **str, int *cu
477 * } 477 * }
478 * } 478 * }
479 * } 479 * }
480 *
481 * // delete attribute list
482 * if (attrs)
483 * {
484 * EINA_LIST_FREE(attrs, attr) free(attr);
485 * }
486 *
487 * free(preedit_string);
480 * @endcode 488 * @endcode
481 * @since 1.1.0 489 * @since 1.1.0
482 */ 490 */