From 9b49b13da934275fbb7936603cb9bebfef108caf Mon Sep 17 00:00:00 2001 From: Wonki Kim Date: Mon, 16 Sep 2019 09:57:36 -0400 Subject: [PATCH] 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 c3286cb..4a9e150 100644 --- a/src/lib/elementary/elm_config.c +++ b/src/lib/elementary/elm_config.c @@ -2612,6 +2612,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 -- 2.7.4