[Xfce4-commits] <libxfce4ui:master> Fix memory leak (bug #8079).

Nick Schermer noreply at xfce.org
Fri Oct 28 17:48:01 CEST 2011


Updating branch refs/heads/master
         to 024ee0d43090a9b0da910b5747f1227d9422b502 (commit)
       from dbc27591b50ad6208e0f4a5659ef84920cd46e9f (commit)

commit 024ee0d43090a9b0da910b5747f1227d9422b502
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Fri Oct 28 17:45:52 2011 +0200

    Fix memory leak (bug #8079).

 libxfce4kbd-private/xfce-shortcuts-provider.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libxfce4kbd-private/xfce-shortcuts-provider.c b/libxfce4kbd-private/xfce-shortcuts-provider.c
index d5b3bbb..3fbf746 100644
--- a/libxfce4kbd-private/xfce-shortcuts-provider.c
+++ b/libxfce4kbd-private/xfce-shortcuts-provider.c
@@ -498,7 +498,7 @@ _xfce_shortcuts_provider_get_shortcut (const gchar                  *property,
         sc->snotify = g_value_get_boolean (snotify);
       else
         sc->snotify = FALSE;
-
+      g_free (snotify_prop);
       context->list = g_list_append (context->list, sc);
     }
 


More information about the Xfce4-commits mailing list