summaryrefslogtreecommitdiff
path: root/src/examples/edje/edje-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/edje/edje-text.c')
-rw-r--r--src/examples/edje/edje-text.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/examples/edje/edje-text.c b/src/examples/edje/edje-text.c
index 45fb340feb..6a58d87273 100644
--- a/src/examples/edje/edje-text.c
+++ b/src/examples/edje/edje-text.c
@@ -44,7 +44,9 @@ _on_delete(Ecore_Evas *ee EINA_UNUSED)
44static void 44static void
45_on_text_change(void *data EINA_UNUSED, Evas_Object *obj, const char *part) 45_on_text_change(void *data EINA_UNUSED, Evas_Object *obj, const char *part)
46{ 46{
47 printf("text: %s\n", edje_object_part_text_unescaped_get(obj, part)); 47 char *str = edje_object_part_text_unescaped_get(obj, part);
48 printf("text: %s\n", str);
49 free(str);
48} 50}
49 51
50static void 52static void