diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-03 03:19:31 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-03 03:19:31 +0800 |
commit | 1f40b4ba9a6da27fa3a8c41ce20e68a3101a4696 (patch) | |
tree | d636e99b8520129a4223d155a55394e41ab54409 /camel/providers/imap | |
parent | bdb673920629d3543bb049a9325c319d63823d4e (diff) | |
download | gsoc2013-evolution-1f40b4ba9a6da27fa3a8c41ce20e68a3101a4696.tar.gz gsoc2013-evolution-1f40b4ba9a6da27fa3a8c41ce20e68a3101a4696.tar.zst gsoc2013-evolution-1f40b4ba9a6da27fa3a8c41ce20e68a3101a4696.zip |
Don't forget to unref the SASL object.
2001-03-02 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (try_auth): Don't forget to
unref the SASL object.
* providers/smtp/camel-smtp-transport.c (query_auth_types):
Implemented.
(smtp_auth): Implemented.
(smtp_helo): Don't bother parsing the authtypes if we already have
them.
(smtp_connect): call smtp_auth() here if we found any authtypes.
(smtp_disconnect): Updated as I now use a hash table for the
supported authtypes rather than a linked list.
(esmtp_get_authtypes): modify to use a hash table instead of a
linked list and also use isspace() rather than == ' '.
svn path=/trunk/; revision=8525
Diffstat (limited to 'camel/providers/imap')
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index a924c4dab7..26cfeb765f 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -362,7 +362,9 @@ try_auth (CamelImapStore *store, const char *mech, CamelException *ex) g_free (resp); goto lose; } - + + camel_object_unref (CAMEL_OBJECT (sasl)); + CAMEL_IMAP_STORE_UNLOCK (store, command_lock); return TRUE; @@ -377,7 +379,11 @@ try_auth (CamelImapStore *store, const char *mech, CamelException *ex) camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE, _("Bad authentication response from server.")); } + + camel_object_unref (CAMEL_OBJECT (sasl)); + CAMEL_IMAP_STORE_UNLOCK (store, command_lock); + return FALSE; } |