[telepathy-glib/master] Fix leaky test

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Sep 3 09:41:51 PDT 2009


---
 tests/dbus/self-presence.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/dbus/self-presence.c b/tests/dbus/self-presence.c
index ac20b69..e42dbf0 100644
--- a/tests/dbus/self-presence.c
+++ b/tests/dbus/self-presence.c
@@ -251,6 +251,7 @@ main (int argc,
       TP_IFACE_CONNECTION_INTERFACE_PRESENCE), "");
   MYASSERT (tp_strv_contains ((const gchar * const *) interfaces,
       TP_IFACE_CONNECTION_INTERFACE_SIMPLE_PRESENCE), "");
+  g_strfreev (interfaces);
 
   MYASSERT (tp_cli_connection_run_get_status (client_conn, -1, &status,
         &error, NULL), "");
-- 
1.5.6.5



More information about the telepathy-commits mailing list