summaryrefslogtreecommitdiff
path: root/mail/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/exit.c')
-rw-r--r--mail/exit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/exit.c b/mail/exit.c
index fab9d2c74..bfb327c01 100644
--- a/mail/exit.c
+++ b/mail/exit.c
@@ -1,5 +1,5 @@
/* GNU Mailutils -- a suite of utilities for electronic mail
- Copyright (C) 1999-2019 Free Software Foundation, Inc.
+ Copyright (C) 1999-2024 Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -20,5 +20,6 @@ int
mail_exit (int argc MU_ARG_UNUSED, char **argv MU_ARG_UNUSED)
{
mu_mailbox_close (mbox);
+ mu_mailbox_destroy (&mbox);
exit (0);
}

Return to:

Send suggestions and report system problems to the System administrator.