]> code.citadel.org Git - citadel.git/blobdiff - webcit/context_loop.c
* load attachments in forwarded messages
[citadel.git] / webcit / context_loop.c
index 7af1790c1cbf491564e47fb61071ae1fddf11870..128487dc04663c1ffce5b34652bf773b96a68421 100644 (file)
@@ -19,17 +19,6 @@ struct wcsession *SessionList = NULL; /**< our sessions ????*/
 pthread_key_t MyConKey;         /**< TSD key for MySession() */
 
 
-/*
- * free the memory used for viewing atachments
- */
-void free_attachment(void *vattach) {
-       wc_attachment *att = (wc_attachment*) vattach;
-       FreeStrBuf(&att->content_type);
-       FreeStrBuf(&att->filename);
-       free(att->data);
-       free(att);
-}
-
 
 void DestroySession(struct wcsession **sessions_to_kill)
 {