[libsoup] plug a small leak in test-utils



commit bcd811894f44d2e5ccb0e213fd1c9e9ebf2c2bc3
Author: Dan Winship <danw gnome org>
Date:   Sun May 16 05:15:16 2010 -0400

    plug a small leak in test-utils

 tests/test-utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-utils.c b/tests/test-utils.c
index 9a13a53..ee3e1c0 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -291,6 +291,7 @@ test_server_new (gboolean in_own_thread, gboolean ssl)
 				       SOUP_SERVER_SSL_CERT_FILE, ssl_cert_file,
 				       SOUP_SERVER_SSL_KEY_FILE, ssl_key_file,
 				       NULL);
+	g_object_unref (addr);
 	if (async_context)
 		g_main_context_unref (async_context);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]