fix: fixed memory leak on exit

This commit is contained in:
Lorenzo Torres 2024-08-20 13:17:26 +02:00
parent 9b8539e1e0
commit 81a1c7447c
3 changed files with 25 additions and 1 deletions

2
sis.c
View file

@ -39,6 +39,8 @@ void int_handler(int sig)
if (instance != NULL) {
imap_close(instance);
}
exit(0);
}
int main(void)