refactor naming of core message manipulation funcions
[citadel.git] / citadel / modules / autocompletion / serv_autocompletion.c
index 8bb5da0217400eec9b10ac8802b9f72c4017d816..00e190839bda557cdfeb6baafb410bf0f52e4245 100644 (file)
@@ -63,7 +63,7 @@ void hunt_for_autocomplete(long msgnum, char *search_string) {
        if (msg == NULL) return;
 
        v = vcard_load(msg->cm_fields[eMesageText]);
-       CtdlFreeMessage(msg);
+       CM_Free(msg);
 
        /*
         * Try to match from a friendly name (the "fn" field).  If there is