edje text: add a missing return macro
authorYoungbok Shin <youngb.shin@samsung.com>
Mon, 12 Jun 2017 13:33:00 +0000 (16:33 +0300)
committerDaniel Hirt <hirt.danny@gmail.com>
Mon, 12 Jun 2017 13:33:00 +0000 (16:33 +0300)
Summary:
RETURN_* macro does unref before exiting functions.
Must be called after using PROXY_DATA_GET macro.
@fix

Test Plan:
1. Run terminology
2. Open Setting
3. Check error messages when you change something from Setting.

Reviewers: herdsman, raster

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4956

src/lib/edje/edje_part_text.c

index 67ed591..c5ee06e 100644 (file)
@@ -12,6 +12,7 @@ _efl_canvas_layout_internal_text_efl_text_text_set(Eo *obj,
 {
    PROXY_DATA_GET(obj, pd);
    _edje_efl_text_set(obj, pd->ed, pd->part, text);
+   RETURN_VOID;
 }
 
 EOLIAN static const char *