Free mailbox at exit

This commit is contained in:
Pasi Kallinen
2016-05-23 17:18:24 +03:00
parent e37da61b30
commit 3b38c75517
3 changed files with 11 additions and 0 deletions
+7
View File
@@ -80,6 +80,13 @@ static long laststattime;
#define MAILPATH "/usr/mail/"
#endif
void
free_maildata()
{
if (mailbox)
free(mailbox);
}
void
getmailstatus()
{