Moved the last tcp_stream unref to afetr the last fail-check so that we
authorJeffrey Stedfast <fejj@novell.com>
Mon, 15 Nov 2004 19:42:25 +0000 (19:42 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Mon, 15 Nov 2004 19:42:25 +0000 (19:42 +0000)
commit747cbb034a5586a29962d00a147584c5c574eb50
treefa518c5c5b69de739851e69061200d0f37f87198
parentda9bd89198f1109a02bd8eaab6b428ee3947a525
Moved the last tcp_stream unref to afetr the last fail-check so that we

2004-11-15  Jeffrey Stedfast  <fejj@novell.com>

* 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.
camel/ChangeLog
camel/providers/pop3/camel-pop3-store.c