18 lines
480 B
Plaintext
18 lines
480 B
Plaintext
|
$OpenBSD: patch-imap_index_c,v 1.1.1.1 2005/03/27 18:01:50 alek Exp $
|
||
|
--- imap/index.c.orig Sat Jan 22 02:44:35 2005
|
||
|
+++ imap/index.c Sat Jan 22 03:10:14 2005
|
||
|
@@ -207,8 +207,13 @@ void index_closemailbox(struct mailbox *
|
||
|
seendb = 0;
|
||
|
}
|
||
|
if (index_len) {
|
||
|
+/*
|
||
|
+ Always after index_closemailbox() goes mailbox_close()
|
||
|
+ that frees the same memory area.
|
||
|
+
|
||
|
map_free(&index_base, &index_len);
|
||
|
map_free(&cache_base, &cache_len);
|
||
|
+ */
|
||
|
index_len = cache_end = 0;
|
||
|
}
|
||
|
}
|