summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-02-12 09:21:09 -0500
committerDan Winship <danw@gnome.org>2012-02-12 09:21:09 -0500
commit55d172084943a64ca5683b8023a5f5f6e501d7ac (patch)
tree3d9b38a885fd59c6daeb9cefbf3f41d1c8756d5b /tests
parent6a8814e232f4c1e8f1bc4bf31f6899c1968dfe5e (diff)
downloadlibsoup-55d172084943a64ca5683b8023a5f5f6e501d7ac.tar.gz
libsoup-55d172084943a64ca5683b8023a5f5f6e501d7ac.tar.bz2
libsoup-55d172084943a64ca5683b8023a5f5f6e501d7ac.zip
valgrind run...
Diffstat (limited to 'tests')
-rw-r--r--tests/auth-test.c2
-rw-r--r--tests/libsoup.supp81
2 files changed, 77 insertions, 6 deletions
diff --git a/tests/auth-test.c b/tests/auth-test.c
index 8f3b1939..3bbee878 100644
--- a/tests/auth-test.c
+++ b/tests/auth-test.c
@@ -1056,6 +1056,7 @@ do_auth_close_test (void)
SOUP_AUTH_DOMAIN_BASIC_AUTH_CALLBACK, server_basic_auth_callback,
NULL);
soup_server_add_auth_domain (server, basic_auth_domain);
+ g_object_unref (basic_auth_domain);
g_signal_connect (server, "request-started",
G_CALLBACK (auth_close_request_started), NULL);
@@ -1065,6 +1066,7 @@ do_auth_close_test (void)
G_CALLBACK (auth_close_authenticate), &acd);
acd.msg = soup_message_new_from_uri ("GET", uri);
+ soup_uri_free (uri);
soup_session_send_message (acd.session, acd.msg);
if (acd.msg->status_code != SOUP_STATUS_OK) {
diff --git a/tests/libsoup.supp b/tests/libsoup.supp
index c72f499e..24c6516a 100644
--- a/tests/libsoup.supp
+++ b/tests/libsoup.supp
@@ -41,6 +41,13 @@
fun:g_thread_init_glib
}
{
+ glib/g_thread_self
+ Memcheck:Leak
+ ...
+ fun:g_slice_alloc0
+ fun:g_thread_self
+}
+{
glib/g_type_register_static
Memcheck:Leak
...
@@ -173,6 +180,12 @@
fun:_g_io_modules_ensure_loaded
}
{
+ glib/giomodules2
+ Memcheck:Leak
+ ...
+ fun:_g_io_module_get_default
+}
+{
glib/proxydefault
Memcheck:Leak
...
@@ -198,12 +211,6 @@
fun:g_tls_backend_get_default_database
}
{
- glib/tlscrypto
- Memcheck:Leak
- ...
- fun:gcry_pthread_mutex_init
-}
-{
glib/tlscache
Memcheck:Leak
...
@@ -316,6 +323,31 @@
...
fun:g_thread_create_posix_impl
}
+{
+ glib/filenamecharsets
+ Memcheck:Leak
+ ...
+ fun:g_get_filename_charsets
+}
+{
+ glib/charset
+ Memcheck:Leak
+ ...
+ fun:g_get_charset
+}
+{
+ glib/gtlssessioncache
+ Memcheck:Leak
+ ...
+ fun:g_tls_backend_gnutls_store_session
+}
+{
+ glib/cached_poll_array
+ Memcheck:Leak
+ ...
+ fun:g_malloc_n
+ fun:g_main_context_iterate
+}
# probably inlines the aggressive memcpy/memcmp
{
@@ -331,6 +363,19 @@
...
fun:gnutls_handshake
}
+{
+ gnutls/init
+ Memcheck:Leak
+ ...
+ fun:gnutls_global_init
+}
+# known leak in gnutls 2.12, fixed in 3.0
+{
+ gnutls/server_key_leak
+ Memcheck:Leak
+ ...
+ fun:call_get_cert_callback
+}
{
libxml2/xmlInitParser
@@ -376,3 +421,27 @@
...
fun:intern_header_name
}
+
+
+# fixme?
+{
+ glib/gmuteximpl
+ Memcheck:Leak
+ ...
+ fun:g_mutex_impl_new
+ fun:g_mutex_get_impl
+}
+{
+ glib/gcondimpl
+ Memcheck:Leak
+ ...
+ fun:g_cond_impl_new
+ fun:g_cond_get_impl
+}
+{
+ glib/gprivateimpl
+ Memcheck:Leak
+ ...
+ fun:g_private_impl_new
+ fun:g_private_get_impl
+}