Oops, thanks for catching that. ACK. ----- Original Message ----- > From: "Christophe Fergeau" <cfergeau@xxxxxxxxxx> > To: spice-devel@xxxxxxxxxxxxxxx > Sent: Wednesday, April 16, 2014 11:16:02 AM > Subject: [spice-gtk] Fix leak in spice_gtk_session_sync_keyboard_modifiers() > > The list of channels returned by spice_session_get_channels() > must be freed after use. > --- > gtk/spice-gtk-session.c | 1 + > 1 file changed, 1 insertion(+) > > 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); > } > -- > 1.9.0 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/spice-devel > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel