summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pamment <apamment@yandex.com>2018-12-01 13:16:28 +1000
committerAndrew Pamment <apamment@yandex.com>2018-12-01 13:16:28 +1000
commit3c9032f498b9475df362bd54da13bead43fa179d (patch)
tree107b87946c4968d1d0e52061aacd86d7985875bd
parentc4c462b6f22c92d0a05505c9b878994e5776c627 (diff)
Oops... got it now..
-rw-r--r--src/mail_menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mail_menu.c b/src/mail_menu.c
index 93be636..4e990ae 100644
--- a/src/mail_menu.c
+++ b/src/mail_menu.c
@@ -3346,7 +3346,9 @@ void do_mail_scan(struct user_record *user, int oldscan, int personal) {
}
} else {
if (oldscan) {
+ msghs = read_message_headers(i, j, user, personal);
s_printf(get_string(141), j, ma->name, count_msgs_above_msgno(msghs, jlr.HighReadMsg));
+ free_message_headers(msghs);
lines++;
if (lines == 22) {
s_printf(get_string(6));