]> code.citadel.org Git - citadel.git/blobdiff - webcit/sysdep.c
Fix memory leaks; need to register lookups so their list is free'd afterwards.
[citadel.git] / webcit / sysdep.c
index fb34a4cef9d04b7c748f286412cb5d539e17108e..94314a25cfdefff982f76f9fee59710c1e713674 100644 (file)
 #include <sys/socket.h>
 #include <syslog.h>
 #include <sys/syslog.h>
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-#  include <sys/time.h>
-# else
-#  include <time.h>
-# endif
-#endif
-
+#include <time.h>
 #include <limits.h>
 #include <sys/resource.h>
 #include <netinet/in.h>
@@ -192,6 +181,8 @@ void end_critical_section(int which_one)
 
 void ShutDownWebcit(void)
 {
+
+       DeleteHash(&GZMimeBlackList);
        free_zone_directory ();
        icaltimezone_release_zone_tab ();
        icalmemory_free_ring ();