X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Finetcfg%2Fserv_inetcfg.c;h=89e8e5633a24136fdc7bdb5d0491c2f8f84611a8;hp=971c672cf598fb381e60d52f7fbb7ed8e68b8bd1;hb=8e944083763c9ddcb32d763cf8f19c966d01f873;hpb=ab6b11ab4005e990fbb368b14c42630b7694c54f diff --git a/citadel/modules/inetcfg/serv_inetcfg.c b/citadel/modules/inetcfg/serv_inetcfg.c index 971c672cf..89e8e5633 100644 --- a/citadel/modules/inetcfg/serv_inetcfg.c +++ b/citadel/modules/inetcfg/serv_inetcfg.c @@ -4,7 +4,7 @@ * wrote it as a module merely to keep things as clean and loosely coupled * as possible. * - * Copyright (c) 1987-2020 by the citadel.org team + * Copyright (c) 1987-2021 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3. @@ -136,15 +136,6 @@ void inetcfg_init(void) { /*****************************************************************************/ /* MODULE INITIALIZATION STUFF */ /*****************************************************************************/ -void cleanup_inetcfg(void) -{ - char *buf; - buf = inetcfg; - inetcfg = NULL; - if (buf != NULL) { - free(buf); - } -} CTDL_MODULE_INIT(inetcfg) @@ -153,7 +144,6 @@ CTDL_MODULE_INIT(inetcfg) { CtdlRegisterMessageHook(inetcfg_aftersave, EVT_AFTERSAVE); inetcfg_init(); - CtdlRegisterCleanupHook(cleanup_inetcfg); } /* return our module name for the log */