[Xfce4-commits] <xfce4-xkb-plugin:4.10_panel_support> Plug a leak

Igor Slepchin noreply at xfce.org
Fri Apr 19 01:56:01 CEST 2013


Updating branch refs/heads/4.10_panel_support
         to 97767d462dab338208868010051fbd3b596dbf77 (commit)
       from cec24f9a34f88b6caba61b0fb2a59c6b7ec370bc (commit)

commit 97767d462dab338208868010051fbd3b596dbf77
Author: Igor Slepchin <igor.slepchin at gmail.com>
Date:   Thu Apr 18 18:59:51 2013 -0400

    Plug a leak

 panel-plugin/xkb-config.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/xkb-config.c b/panel-plugin/xkb-config.c
index 54c8032..2871d96 100644
--- a/panel-plugin/xkb-config.c
+++ b/panel-plugin/xkb-config.c
@@ -317,6 +317,7 @@ xkb_config_update_settings (t_xkb_settings *settings)
 
     if (settings->kbd_config == NULL || settings->never_modify_config)
     {
+        xkl_config_rec_reset (config->config_rec);
         if (!xkl_config_rec_get_from_server (config->config_rec, config->engine))
         {
             DBG ("ERROR: can't get xkl config: [%s]", xkl_get_last_error());


More information about the Xfce4-commits mailing list