[Xfce4-commits] <xfce4-xkb-plugin:master> Stupid typo, fix linked leak.
Jérôme Guelfucci
noreply at xfce.org
Fri Apr 29 11:38:04 CEST 2011
Updating branch refs/heads/master
to 51e472ba45341b6c312e4bc49a4d20e60858bac2 (commit)
from 34f4f9a83f0a485f61f3cfa7f1790e0d399e3f49 (commit)
commit 51e472ba45341b6c312e4bc49a4d20e60858bac2
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Fri Apr 29 10:41:12 2011 +0200
Stupid typo, fix linked leak.
panel-plugin/xkb-config.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/xkb-config.c b/panel-plugin/xkb-config.c
index f2f2e80..d952a3c 100644
--- a/panel-plugin/xkb-config.c
+++ b/panel-plugin/xkb-config.c
@@ -331,8 +331,8 @@ xkb_config_update_settings (t_xkb_settings *settings)
if (settings->kbd_config->compose_key_position
&& strlen (settings->kbd_config->compose_key_position) > 0)
{
- gchar *tmp = options;
- options = g_strconcat (options, ",", settings->kbd_config->compose_key_position, NULL);
+ gchar *tmp = g_strdup (options);
+ options = g_strconcat (tmp, ",", settings->kbd_config->compose_key_position, NULL);
g_free (tmp);
}
More information about the Xfce4-commits
mailing list