Free ssl_creds. Pointed out by Chris Austin.
authorDan Winship <danw@src.gnome.org>
Tue, 5 Dec 2006 19:03:27 +0000 (19:03 +0000)
committerDan Winship <danw@src.gnome.org>
Tue, 5 Dec 2006 19:03:27 +0000 (19:03 +0000)
* libsoup/soup-session.c (finalize): Free ssl_creds. Pointed out
by Chris Austin.

ChangeLog
libsoup/soup-session.c

index cc003fe..d379088 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,9 @@
 
        * libsoup/soup-message-io.c (soup_message_io_stop): Clarify docs
 
+       * libsoup/soup-session.c (finalize): Free ssl_creds. Pointed out
+       by Chris Austin.
+
 2006-11-20  Dan Winship  <danw@novell.com>
 
        * configure.in: 2.2.98
index 6900701..509b76e 100644 (file)
@@ -182,6 +182,9 @@ finalize (GObject *object)
        g_hash_table_destroy (priv->hosts);
        g_hash_table_destroy (priv->conns);
 
+       if (priv->ssl_creds)
+               soup_ssl_free_client_credentials (priv->ssl_creds);
+
        if (priv->async_context)
                g_main_context_unref (priv->async_context);