aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-15 10:56:06 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-15 10:56:06 +0800
commit369d9ddc67a8bf40651e1dbe95d1b6a45996d71c (patch)
tree611472d6c64e46b504e9fd1981b22db1da3624a2 /camel
parent673fb08aefd220a96c3200c2fd2e1e97e5a642c5 (diff)
downloadgsoc2013-evolution-369d9ddc67a8bf40651e1dbe95d1b6a45996d71c.tar
gsoc2013-evolution-369d9ddc67a8bf40651e1dbe95d1b6a45996d71c.tar.gz
gsoc2013-evolution-369d9ddc67a8bf40651e1dbe95d1b6a45996d71c.tar.bz2
gsoc2013-evolution-369d9ddc67a8bf40651e1dbe95d1b6a45996d71c.tar.lz
gsoc2013-evolution-369d9ddc67a8bf40651e1dbe95d1b6a45996d71c.tar.xz
gsoc2013-evolution-369d9ddc67a8bf40651e1dbe95d1b6a45996d71c.tar.zst
gsoc2013-evolution-369d9ddc67a8bf40651e1dbe95d1b6a45996d71c.zip
Ya know what? Lets not ref the service because otherwise we'll start
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. svn path=/trunk/; revision=8722
Diffstat (limited to 'camel')
-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);