Commit a62a2fd8 authored by Christian Persch's avatar Christian Persch

Plug a mem leak in the gdbus-connection test

Bug #627182.
parent 7191fc3f
......@@ -871,8 +871,8 @@ test_connection_basic (void)
GDBusConnection *connection;
GError *error;
GDBusCapabilityFlags flags;
const gchar *guid;
const gchar *name;
gchar *guid;
gchar *name;
gboolean closed;
gboolean exit_on_close;
GIOStream *stream;
......@@ -911,6 +911,8 @@ test_connection_basic (void)
g_object_unref (stream);
g_object_unref (connection);
g_free (name);
g_free (guid);
session_bus_down ();
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment