Plug a mem leak in the gdbus-connection test

Bug #627182.
This commit is contained in:
Christian Persch 2010-08-17 18:08:07 +02:00
parent 7191fc3f17
commit a62a2fd8ed

View File

@ -871,8 +871,8 @@ test_connection_basic (void)
GDBusConnection *connection; GDBusConnection *connection;
GError *error; GError *error;
GDBusCapabilityFlags flags; GDBusCapabilityFlags flags;
const gchar *guid; gchar *guid;
const gchar *name; gchar *name;
gboolean closed; gboolean closed;
gboolean exit_on_close; gboolean exit_on_close;
GIOStream *stream; GIOStream *stream;
@ -911,6 +911,8 @@ test_connection_basic (void)
g_object_unref (stream); g_object_unref (stream);
g_object_unref (connection); g_object_unref (connection);
g_free (name);
g_free (guid);
session_bus_down (); session_bus_down ();
} }