* src/etpan/imap-thread.c
Close socket manually before
freeing the imap struct
+2007-01-14 [colin] 2.7.0cvs25
+
+ * src/etpan/imap-thread.c
+ Close socket manually before
+ freeing the imap struct
+
2007-01-14 [colin] 2.7.0cvs24
* src/etpan/imap-thread.c
( cvs diff -u -r 1.274.2.162 -r 1.274.2.163 src/mainwindow.c; cvs diff -u -r 1.395.2.274 -r 1.395.2.275 src/summaryview.c; cvs diff -u -r 1.68.2.31 -r 1.68.2.32 src/summaryview.h; ) > 2.7.0cvs22.patchset
( cvs diff -u -r 1.395.2.275 -r 1.395.2.276 src/summaryview.c; ) > 2.7.0cvs23.patchset
( cvs diff -u -r 1.1.4.65 -r 1.1.4.66 src/etpan/imap-thread.c; ) > 2.7.0cvs24.patchset
+( cvs diff -u -r 1.1.4.66 -r 1.1.4.67 src/etpan/imap-thread.c; ) > 2.7.0cvs25.patchset
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=24
+EXTRA_VERSION=25
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
key.data = &imap;
key.len = sizeof(imap);
chash_delete(courier_workaround_hash, &key, NULL);
- imap->imap_stream = NULL; /* we don't want libetpan to logout */
+ if (imap->imap_stream) {
+ /* we don't want libetpan to logout */
+ mailstream_close(imap->imap_stream);
+ imap->imap_stream = NULL;
+ }
debug_print("removing mailimap %p\n", imap);
mailimap_free(imap);
}