From 955f6b6c06913c3635f6104e34221e117ac2043a Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sat, 2 Apr 2016 11:00:15 +1000 Subject: [PATCH] Fix crash when aborting reply to messages --- mail_menu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mail_menu.c b/mail_menu.c index 01c1dcb..c5d189d 100644 --- a/mail_menu.c +++ b/mail_menu.c @@ -824,6 +824,8 @@ void read_message(int socket, struct user_record *user, struct msg_headers *msgh free(replybody); JAM_CloseMB(jb); doquit = 1; + } else { + doquit = 1; } } free(body);