]> code.citadel.org Git - citadel.git/blobdiff - webcit/messages.c
In the main readloop(), fixed a </div> that appeared
[citadel.git] / webcit / messages.c
index ec460d4981f5c2bed1d7ee99744717d1e62cb9ed..27bccfa61027f0395f54b7d98dbf84e43d60d404 100644 (file)
@@ -2603,8 +2603,8 @@ DONE:
        }
 
        /** Note: wDumpContent() will output one additional </div> tag. */
+       wprintf("</div>\n");            /** end of 'content' div */
        wDumpContent(1);
-       if (addrbook != NULL) free(addrbook);
 
        /** free the summary */
        if (WC->summ != NULL) {
@@ -2612,7 +2612,7 @@ DONE:
                WC->num_summ = 0;
                WC->summ = NULL;
        }
-wprintf("</div>\n");           /** end of 'content' div */
+       if (addrbook != NULL) free(addrbook);
 }