hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=cce73a2b4b36b9f4792c29535b8207e788399fe1

commit cce73a2b4b36b9f4792c29535b8207e788399fe1
Author: subhransu mohanty <sub.moha...@samsung.com>
Date:   Thu Aug 22 14:22:22 2019 +0900

    edje/style: fix memory leak because of typo.
    
    Summary:
    We already have a escaped string for the font_source so
    this code is unnecessary.
    
    Reviewers: Hermet
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D9698
---
 src/lib/edje/edje_textblock_styles.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/edje/edje_textblock_styles.c 
b/src/lib/edje/edje_textblock_styles.c
index ece7b76e93..e4ceebecb5 100644
--- a/src/lib/edje/edje_textblock_styles.c
+++ b/src/lib/edje/edje_textblock_styles.c
@@ -151,8 +151,6 @@ _edje_textblock_style_update(Edje *ed, Edje_Style *stl, 
Eina_Bool force)
    if (!txt)
      txt = eina_strbuf_new();
 
-   if (_edje_fontset_append)
-     fontset = eina_str_escape(_edje_fontset_append);
    if (ed->file->fonts)
      fontsource = eina_str_escape(ed->file->path);
 

-- 


Reply via email to