Skip to content

Commit

Permalink
Merge branch 'master' of gitlab.synchro.net:main/sbbs
Browse files Browse the repository at this point in the history
  • Loading branch information
Randy Sommerfeld committed Apr 4, 2023
2 parents e9cb283 + f95f67a commit fcf4a00
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/sbbs3/sbbs_ini.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,28 +308,28 @@ void sbbs_free_ini(
)
{
if(global != NULL) {
iniFreeStringList(global->interfaces);
strListFree(&global->interfaces);
}
if(bbs != NULL) {
iniFreeStringList(bbs->telnet_interfaces);
iniFreeStringList(bbs->rlogin_interfaces);
iniFreeStringList(bbs->ssh_interfaces);
strListFree(&bbs->telnet_interfaces);
strListFree(&bbs->rlogin_interfaces);
strListFree(&bbs->ssh_interfaces);
}
if(web != NULL) {
iniFreeStringList(web->interfaces);
iniFreeStringList(web->tls_interfaces);
iniFreeStringList(web->index_file_name);
iniFreeStringList(web->cgi_ext);
strListFree(&web->interfaces);
strListFree(&web->tls_interfaces);
strListFree(&web->index_file_name);
strListFree(&web->cgi_ext);
}
if(ftp != NULL) {
iniFreeStringList(ftp->interfaces);
strListFree(&ftp->interfaces);
}
if(mail != NULL) {
iniFreeStringList(mail->interfaces);
iniFreeStringList(mail->pop3_interfaces);
strListFree(&mail->interfaces);
strListFree(&mail->pop3_interfaces);
}
if(services != NULL) {
iniFreeStringList(services->interfaces);
strListFree(&services->interfaces);
}
}

Expand Down

0 comments on commit fcf4a00

Please sign in to comment.