aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog9
-rw-r--r--camel/camel-tcp-stream-ssl.c2
2 files changed, 9 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index de3ff8ecdf..18aa97bac1 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,14 @@
2001-03-14 Jeffrey Stedfast <fejj@ximian.com>
+ * camel-tcp-stream-ssl.c (camel_tcp_stream_ssl_new): Ya know what?
+ Lets not ref the service because otherwise we'll start having the
+ same problems we had back with vtrash. Besides, since the store
+ owns the stream, it's not like the store is going anywhere without
+ the stream anyway.
+ (camel_tcp_stream_ssl_finalize): No need to unref the service.
+
+2001-03-14 Jeffrey Stedfast <fejj@ximian.com>
+
* camel-remote-store.c (remote_connect): Pass the service into the
SSL stream, not the session.
diff --git a/camel/camel-tcp-stream-ssl.c b/camel/camel-tcp-stream-ssl.c
index 4b2d4fc578..243c68403b 100644
--- a/camel/camel-tcp-stream-ssl.c
+++ b/camel/camel-tcp-stream-ssl.c
@@ -97,7 +97,6 @@ camel_tcp_stream_ssl_finalize (CamelObject *object)
if (stream->sockfd != NULL)
PR_Close (stream->sockfd);
- camel_object_unref (CAMEL_OBJECT (stream->service));
g_free (stream->expected_host);
}
@@ -139,7 +138,6 @@ camel_tcp_stream_ssl_new (CamelService *service, const char *expected_host)
stream = CAMEL_TCP_STREAM_SSL (camel_object_new (camel_tcp_stream_ssl_get_type ()));
- camel_object_ref (CAMEL_OBJECT (service));
stream->service = service;
stream->expected_host = g_strdup (expected_host);