[Spice-commits] 3 commits - gtk/spice-channel.c NEWS
Marc-André Lureau
elmarco at kemper.freedesktop.org
Fri Jan 11 15:03:26 PST 2013
NEWS | 8 ++++++++
gtk/spice-channel.c | 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
New commits:
commit 4295363ccc199d74152274a036843e6507b4c9d0
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Fri Jan 11 21:16:24 2013 +0100
Release v0.16
v0.16
=====
- Fix crash with SSL connection (#890464)
- Send monitor config to the agent on spice_main_set_display_enabled() (#881072)
- Fix channel leak and wrong condition in spice_channel_flush()
- Build fixes
diff --git a/NEWS b/NEWS
index 5395d5d..a46718a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+v0.16
+=====
+
+- Fix crash with SSL connection (#890464)
+- Send monitor config to the agent on spice_main_set_display_enabled() (#881072)
+- Fix channel leak and wrong condition in spice_channel_flush()
+- Build fixes
+
v0.15
=====
commit 0e3a5e348f7ddd4dbb32ac80a628771aef5705c2
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Fri Jan 11 20:51:01 2013 +0100
spice-channel: fix state condition check in flush()
diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c
index 3a8c19b..2c559b7 100644
--- a/gtk/spice-channel.c
+++ b/gtk/spice-channel.c
@@ -2770,7 +2770,7 @@ void spice_channel_flush_async(SpiceChannel *self, GCancellable *cancellable,
g_return_if_fail(SPICE_IS_CHANNEL(self));
c = self->priv;
- if (!c->state == SPICE_CHANNEL_STATE_READY) {
+ if (c->state != SPICE_CHANNEL_STATE_READY) {
g_simple_async_report_error_in_idle(G_OBJECT(self), callback, user_data,
SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED,
"The channel is not ready yet");
commit bc92e9f5e6b2819764a2a60568c02fdb3525282b
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Fri Jan 11 20:48:18 2013 +0100
spice-channel: plug a channel ref leak
diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c
index 14ced89..3a8c19b 100644
--- a/gtk/spice-channel.c
+++ b/gtk/spice-channel.c
@@ -2786,6 +2786,7 @@ void spice_channel_flush_async(SpiceChannel *self, GCancellable *cancellable,
if (was_empty) {
g_simple_async_result_set_op_res_gboolean(simple, TRUE);
g_simple_async_result_complete_in_idle(simple);
+ g_object_unref(simple);
return;
}
More information about the Spice-commits
mailing list