[Spice-commits] gtk/spice-gtk-session.c
Christophe Fergau
teuf at kemper.freedesktop.org
Thu Apr 17 02:47:20 PDT 2014
gtk/spice-gtk-session.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 4c8ade49f46d001bf371e4ce4ddfc53d6c9fbad7
Author: Christophe Fergeau <cfergeau at redhat.com>
Date: Wed Apr 16 17:59:02 2014 +0200
Fix leak in spice_gtk_session_sync_keyboard_modifiers()
The list of channels returned by spice_session_get_channels()
must be freed after use.
diff --git a/gtk/spice-gtk-session.c b/gtk/spice-gtk-session.c
index 6dc7c93..3574544 100644
--- a/gtk/spice-gtk-session.c
+++ b/gtk/spice-gtk-session.c
@@ -1139,4 +1139,5 @@ void spice_gtk_session_sync_keyboard_modifiers(SpiceGtkSession *self)
spice_gtk_session_sync_keyboard_modifiers_for_channel(self, inputs, TRUE);
}
}
+ g_list_free(channels);
}
More information about the Spice-commits
mailing list