zmike pushed a commit to branch master.

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

commit f49535debbd06bdc64ec07907110befa21d4af9c
Author: Wonki Kim <wonki_....@samsung.com>
Date:   Mon Sep 16 09:57:36 2019 -0400

    elm_config: fix a missing of free after using
    
    Summary: safed_bindings will leak by going out the function without freeing.
    
    Reviewers: bu5hm4n, zmike
    
    Reviewed By: zmike
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D9966
---
 src/lib/elementary/elm_config.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index b55933f7c4..0e25747d0f 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -2319,6 +2319,7 @@ _elm_key_bindings_copy_missing_bindings(Elm_Config *cfg, 
Elm_Config *syscfg)
      {
         printf("There have been missing Key bindings in the config, config is 
now adjusted\n");
      }
+   eina_hash_free(safed_bindings);
 }
 
 static void

-- 


Reply via email to