/*
- * $Id$
- *
* This module handles the loading/saving and maintenance of the
* system's Internet configuration. It's not an optional component; I
* wrote it as a module merely to keep things as clean and loosely coupled
/*****************************************************************************/
/* MODULE INITIALIZATION STUFF */
/*****************************************************************************/
+void clenaup_inetcfg(void)
+{
+ char *buf;
+ buf = inetcfg;
+ inetcfg = NULL;
+ if (buf != NULL)
+ free(buf);
+}
CTDL_MODULE_INIT(inetcfg)
{
{
CtdlRegisterMessageHook(inetcfg_aftersave, EVT_AFTERSAVE);
inetcfg_init();
+ CtdlRegisterCleanupHook(clenaup_inetcfg);
}
/* return our Subversion id for the Log */
- return "$Id$";
+ return "inetcfg";
}