]> code.citadel.org Git - citadel.git/blobdiff - webcit/context_loop.c
* cleanup with variable substitution. cleaner replacing function and string variables.
[citadel.git] / webcit / context_loop.c
index f37fa66762f0ba1c5f6a6fe0ba7352e67ab0681e..a74ffb31e3fafd30bdc76092fa7f3069e16098f7 100644 (file)
@@ -106,6 +106,7 @@ void do_housekeeping(void)
                }
                free_attachments(sessions_to_kill);
                free_march_list(sessions_to_kill);
+               clear_substs(sessions_to_kill);
                pthread_mutex_unlock(&sessions_to_kill->SessionMutex);
                sptr = sessions_to_kill->next;
                free(sessions_to_kill);