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

Nick Schermer noreply at xfce.org
Tue Dec 20 10:52:01 CET 2011


Updating branch refs/heads/xfce-4.8
         to 8265b556931bdba835e1e141529b24392b99974c (commit)
       from e8ec9b6ebc7707d831d49fb34c62ea3def66d258 (commit)

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

    Fix memory leak (bug #8079).
    
    (cherry picked from commit 024ee0d43090a9b0da910b5747f1227d9422b502)

 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 528503d..5d04ad7 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