jaehwan pushed a commit to branch master.

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

commit d3b1801fd0797853df732b0056a4166b4d4c9ed1
Author: Jaehwan Kim <[email protected]>
Date:   Mon Jan 9 17:48:23 2017 +0900

    resource_manager_react: fix the crash.
    
    If style_tag is null, it occurs crash.
    But this is temporary solution.
    The style tag list is not matching with added genlist items.
    It should be fixed right way.
---
 src/bin/resource_manager/resource_manager_react.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/resource_manager/resource_manager_react.c 
b/src/bin/resource_manager/resource_manager_react.c
index f9c19da..f1d6f99 100644
--- a/src/bin/resource_manager/resource_manager_react.c
+++ b/src/bin/resource_manager/resource_manager_react.c
@@ -78,7 +78,8 @@ _property_resource_attribute_changed(void *data,
                                                           change->style_name);
          style_tag = (Style_Tag2 *)resource_manager_find(style_res->tags,
                                                      change->tag_name);
-         _resource_style_tag_free(style_tag);
+         if (style_tag)
+           _resource_style_tag_free(style_tag);
          break;
       default:
          break;

-- 


Reply via email to