]> code.citadel.org Git - citadel.git/blobdiff - webcit/context_loop.c
* move serv_info into the session, here we can control its de/allocation the right...
[citadel.git] / webcit / context_loop.c
index a11b930d2873c035084d5eb201b70d896a6db006..c8461d2c8f56741209994d08d953c68db1c9ff25 100644 (file)
@@ -32,6 +32,7 @@ void DestroySession(wcsession **sessions_to_kill)
        if ((*sessions_to_kill)->cache_fold != NULL) {
                free((*sessions_to_kill)->cache_fold);
        }
+       DeleteServInfo(&((*sessions_to_kill)->serv_info));
        DeleteHash(&((*sessions_to_kill)->attachments));
        free_march_list((*sessions_to_kill));
        DeleteHash(&((*sessions_to_kill)->hash_prefs));