Removed the commented-out vestiges of a spam strings checker begun before we decided...
[citadel.git] / citadel / modules / wiki / serv_wiki.c
index 0399124b396e44949fccfdc29af3070d37fbbf89..49a039809f6a130237c845fc5e63a6e9826fc5d7 100644 (file)
@@ -239,6 +239,7 @@ int wiki_upload_beforesave(struct CtdlMessage *msg) {
         */
        if (history_msg->cm_fields['I'] != NULL) {
                free(history_msg->cm_fields['I']);
+               history_msg->cm_fields['I'] = NULL;
        }
 
        /* Figure out the boundary string.  We do this even when we generated the