Fix for msg bases

This commit is contained in:
Andrew Pamment 2016-03-30 13:07:14 +10:00
parent 93d5f6237b
commit 527895570f

View File

@ -1206,7 +1206,9 @@ int mail_menu(int socket, struct user_record *user) {
if (closed == 0) {
JAM_CloseMB(jb);
}
free_message_headers(msghs);
if (msghs != NULL) {
free_message_headers(msghs);
}
break;
case 'c':
{