From ea684db564c168b70a1860ecc0f6f45e3fe23e55 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 6 Feb 2013 08:36:59 +0000 Subject: [PATCH] move e_bindings allocation to after we're sure we need it so we don't leak those precious 20 bytes of memory SVN revision: 83660 --- src/bin/e_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_config.c b/src/bin/e_config.c index 09680741b..5b3c8c1f4 100644 --- a/src/bin/e_config.c +++ b/src/bin/e_config.c @@ -1164,7 +1164,6 @@ e_config_load(void) /* e_bindings config domain didn't exist before this version, so we have to do this * check before we load or else we wipe configs :( */ - e_bindings = E_NEW(E_Config_Bindings, 1); #undef SET #define SET(X) e_bindings->X = e_config->X, e_config->X = NULL @@ -1172,6 +1171,7 @@ e_config_load(void) if (e_config->mouse_bindings || e_config->key_bindings || e_config->edge_bindings || e_config->signal_bindings || e_config->wheel_bindings || e_config->acpi_bindings) { + e_bindings = E_NEW(E_Config_Bindings, 1); SET(mouse_bindings); SET(key_bindings); SET(edge_bindings);