No more cleanup hooks. The OS can reclaim memory better than we can. We want to...
[citadel.git] / citadel / modules / fulltext / ft_wordbreaker.c
index b2ba828bb8406a77e8ec28b66c2d7e0eceb2f319..968fa9f02b0aa2bf21ddf87890a0e19887d8a56a 100644 (file)
@@ -147,26 +147,6 @@ void initialize_noise_words(void)
 }
 
 
-void noise_word_cleanup(void)
-{
-       int i;
-       noise_word *cur, *next;
-       
-       syslog(LOG_INFO, "wordbreaker: cleaning up fulltext noise words");
-       
-       for (i = 0 ; i < 26 ; i++)
-       {
-               cur = noise_words[i];
-               while (cur)
-               {
-                       next = cur->next;
-                       free(cur->word);
-                       free(cur);
-                       cur = next;
-               }
-       }
-}
-
 /*
  * Compare function
  */