* migrate append to StrBuf; switch the lineconverter out to stringbuf
[citadel.git] / citadel / modules / imap / serv_imap.c
index e3f9e4b5fa37c5fe2e4cb77703795796492a96ca..de11077be0af8dcc469db8ab320e537929a13b64 100644 (file)
@@ -113,11 +113,7 @@ void imap_free_msgids(void)
  */
 void imap_free_transmitted_message(void)
 {
-       if (IMAP->transmitted_message != NULL) {
-               free(IMAP->transmitted_message);
-               IMAP->transmitted_message = NULL;
-               IMAP->transmitted_length = 0;
-       }
+       FreeStrBuf(&IMAP->TransmittedMessage);
 }