From 8418c298af67e33093315a7458cef81cdb638c88 Mon Sep 17 00:00:00 2001 From: Quentin Glidic Date: Tue, 18 Jun 2013 09:11:03 +0200 Subject: [PATCH] shell: Free temporary strings Signed-off-by: Quentin Glidic --- src/shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shell.c b/src/shell.c index ceb963c..4447995 100644 --- a/src/shell.c +++ b/src/shell.c @@ -402,8 +402,10 @@ shell_configuration(struct desktop_shell *shell) weston_config_section_get_string(section, "binding-modifier", &s, "super"); shell->binding_modifier = get_modifier(s); + free(s); weston_config_section_get_string(section, "animation", &s, "none"); shell->win_animation_type = get_animation_type(s); + free(s); weston_config_section_get_uint(section, "num-workspaces", &shell->workspaces.num, DEFAULT_NUM_WORKSPACES); -- 2.7.4