From 369d9ddc67a8bf40651e1dbe95d1b6a45996d71c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 15 Mar 2001 02:56:06 +0000 Subject: Ya know what? Lets not ref the service because otherwise we'll start 2001-03-14 Jeffrey Stedfast * 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. svn path=/trunk/; revision=8722 --- camel/camel-tcp-stream-ssl.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'camel/camel-tcp-stream-ssl.c') 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); -- cgit v1.2.3