Hunting a bug in scheduled threads that caused a segflt. Got it and
[citadel.git] / citadel / modules / expire / serv_expire.c
index e807f969bf34cad0c9d80b3da73a3b94b7c9da7b..df65a8dcada2cc9b29d114244f836879607ababc 100644 (file)
@@ -720,8 +720,6 @@ void *purge_databases(void *args)
         time_t now;
         struct tm tm;
 
-       CtdlThreadAllocTSD();
-
         while (!CtdlThreadCheckStop()) {
                 /* Do the auto-purge if the current hour equals the purge hour,
                  * but not if the operation has already been performed in the