rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=3888fad3fb63192d9a7e7e212511f05f58b9ca41

commit 3888fad3fb63192d9a7e7e212511f05f58b9ca41
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Thu Nov 12 14:35:20 2015 +0200

    editor: fix CID 85369, 85370, 85371
---
 src/bin/editor/editor_macro.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/editor/editor_macro.h b/src/bin/editor/editor_macro.h
index 0eaae00..c5b351f 100644
--- a/src/bin/editor/editor_macro.h
+++ b/src/bin/editor/editor_macro.h
@@ -161,7 +161,10 @@ editor_state_## FUNC ##_set(Evas_Object *edit_object, 
Change *change, Eina_Bool
    if (!edje_edit_state_## FUNC ##_set(edit_object, part_name, state_name, 
state_val, new_val)) \
      { \
         if (!edje_edit_state_## FUNC ##_set(edit_object, part_name, 
state_name, state_val, FALLBACK_VAL)) \
-           return false; \
+          { \
+             diff_free(diff); \
+             return false; \
+          } \
         if (diff) \
           { \
             eina_stringshare_del(diff->redo.args.type_ssds.s4); \

-- 


Reply via email to