diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-30 04:36:46 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-30 04:36:46 +0800 |
commit | 1fc61048fcc2c40e5754bd1f8a43db1f11deba09 (patch) | |
tree | 3b4bce4978434da1534590d4eb1467c32b85e516 /camel/providers | |
parent | 48e19b8e4d6d279a300c7957ff29a4bee4638e1e (diff) | |
download | gsoc2013-evolution-1fc61048fcc2c40e5754bd1f8a43db1f11deba09.tar gsoc2013-evolution-1fc61048fcc2c40e5754bd1f8a43db1f11deba09.tar.gz gsoc2013-evolution-1fc61048fcc2c40e5754bd1f8a43db1f11deba09.tar.bz2 gsoc2013-evolution-1fc61048fcc2c40e5754bd1f8a43db1f11deba09.tar.lz gsoc2013-evolution-1fc61048fcc2c40e5754bd1f8a43db1f11deba09.tar.xz gsoc2013-evolution-1fc61048fcc2c40e5754bd1f8a43db1f11deba09.tar.zst gsoc2013-evolution-1fc61048fcc2c40e5754bd1f8a43db1f11deba09.zip |
Only free the LOGOUT response if it is non-NULL.
2002-05-29 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (connect_to_server): Only free
the LOGOUT response if it is non-NULL.
svn path=/trunk/; revision=17036
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 7da066ecd6..dd73f084eb 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -655,7 +655,8 @@ connect_to_server (CamelService *service, int ssl_mode, int try_starttls, CamelE if (clean_quit) { /* try to disconnect cleanly */ response = camel_imap_command (store, NULL, ex, "LOGOUT"); - camel_imap_response_free_without_processing (store, response); + if (response) + camel_imap_response_free_without_processing (store, response); } camel_object_unref (CAMEL_OBJECT (store->istream)); |