* shrinked the rest of these shutdown stuff into the module-handler.
[citadel.git] / webcit / roomops.c
index 936defa9bbaba468eb880df8a6c8b4d19b275ef7..442d167ac5b7e086d4a35f6e301110a2bb293330 100644 (file)
@@ -4126,4 +4126,16 @@ InitModule_ROOMOPS
        RegisterNamespace("ROOM:INFO", 1, 2, tmplput_ROOM_Value, CTX_ROOMS);
 }
 
+
+
+void 
+SessionDestroyModule_ROOMOPS
+(wcsession *sess)
+{
+       if (sess->cache_fold != NULL) {
+               free(sess->cache_fold);
+       }
+       
+       free_march_list(sess);
+}
 /*@}*/