From 4f7f3b910d5dfabd621e70af29eb59a99bb24d8c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 15 Nov 2004 19:42:25 +0000 Subject: Moved the last tcp_stream unref to afetr the last fail-check so that we 2004-11-15 Jeffrey Stedfast * providers/pop3/camel-pop3-store.c (connect_to_server): Moved the last tcp_stream unref to afetr the last fail-check so that we won't ever get a double-unref on something we only own one ref on. (connect_to_server): Unref the tcp_stream if we fail to create an engine object before returning fail. svn path=/trunk/; revision=27926 --- camel/ChangeLog | 2 ++ 1 file changed, 2 insertions(+) (limited to 'camel/ChangeLog') diff --git a/camel/ChangeLog b/camel/ChangeLog index 991e4d3ca1..a869f475c9 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -3,6 +3,8 @@ * providers/pop3/camel-pop3-store.c (connect_to_server): Moved the last tcp_stream unref to afetr the last fail-check so that we won't ever get a double-unref on something we only own one ref on. + (connect_to_server): Unref the tcp_stream if we fail to create an + engine object before returning fail. * providers/imap4/camel-imap4-stream.c (camel_imap4_stream_line): Fix bug #69408 by filling our input buffer if inptr == inend. -- cgit v1.2.3