Don't free the room list hash at the end of the site map operation.
authorArt Cancro <ajc@citadel.org>
Mon, 13 Sep 2010 16:13:50 +0000 (12:13 -0400)
committerArt Cancro <ajc@citadel.org>
Mon, 13 Sep 2010 16:13:50 +0000 (12:13 -0400)
It will be freed when the session closes.

webcit/sitemap.c

index 0bc394b98b0416a3839e190a093b49e8c4389bbd..306979571f83a0bcbda48122a805261175789ba7 100644 (file)
@@ -87,7 +87,7 @@ void sitemap(void) {
        }
 
        DeleteHashPos(&it);
-       DeleteHash(&roomlist);
+       /* DeleteHash(&roomlist); This will be freed when the session closes */
 
        wc_printf("</urlset>\r\n");
        wDumpContent(0);