diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2014-04-16 17:59:02 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-04-17 11:47:09 +0200 |
commit | 4c8ade49f46d001bf371e4ce4ddfc53d6c9fbad7 (patch) | |
tree | 8e7336a4da0bd969c4f0477b43291ceda9e25e18 | |
parent | a7e80610e8a7b616b3e502a39052921fb9b51825 (diff) |
Fix leak in spice_gtk_session_sync_keyboard_modifiers()
The list of channels returned by spice_session_get_channels()
must be freed after use.
-rw-r--r-- | gtk/spice-gtk-session.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |