by Harry Coin: fix implementation - this buffer was missing.
[citadel.git] / webcit / sysdep.c
index cbfba25f955d6e5e4c4687e6d3b4868940440fb1..4b8f4c6a681213f05ecfbe7bebb4c9a2e8d63363 100644 (file)
@@ -181,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 ();
@@ -555,6 +557,9 @@ webcit_calc_dirs_n_files(int relh, const char *basedir, int home, char *webcitdi
 void drop_root(uid_t UID)
 {
        struct passwd pw, *pwp = NULL;
+#ifdef HAVE_GETPWUID_R
+       char pwbuf[SIZ];
+#endif
 
        /*
         * Now that we've bound the sockets, change to the Citadel user id and its