[glib/glib-2-28] gdbus-exit-on-close test: don't leak a variant
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-28] gdbus-exit-on-close test: don't leak a variant
- Date: Fri, 11 Nov 2011 16:06:53 +0000 (UTC)
commit 5949eb98061b8caaef406b4ca8461cb8b0da5cdd
Author: Simon McVittie <simon mcvittie collabora co uk>
Date: Thu Nov 3 18:33:08 2011 +0000
gdbus-exit-on-close test: don't leak a variant
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100
Bug-NB: NB#287088
Signed-off-by: Simon McVittie <simon mcvittie collabora co uk>
Reviewed-by: Colin Walters <walters verbum org>
gio/tests/gdbus-exit-on-close.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/gdbus-exit-on-close.c b/gio/tests/gdbus-exit-on-close.c
index a5e552d..14d3a8c 100644
--- a/gio/tests/gdbus-exit-on-close.c
+++ b/gio/tests/gdbus-exit-on-close.c
@@ -167,6 +167,7 @@ test_exit_on_close (gconstpointer test_data)
&error);
g_assert_no_error (error);
g_assert (v != NULL);
+ g_variant_unref (v);
g_dbus_connection_close (c, NULL, close_async_cb, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]