X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fextnotify%2Fextnotify_main.c;h=ef253c8760455a6f52ec312a817b8807b7b1b955;hp=3eced5a59967aaff2c5211dcb576936968e5ba4b;hb=5e3befebe2ed0ce85324da3be83b21880dc7d069;hpb=56f6d0cdb88ef4a9fad5eca1d5ae2e04cb163dcd diff --git a/citadel/modules/extnotify/extnotify_main.c b/citadel/modules/extnotify/extnotify_main.c index 3eced5a59..ef253c876 100644 --- a/citadel/modules/extnotify/extnotify_main.c +++ b/citadel/modules/extnotify/extnotify_main.c @@ -193,7 +193,7 @@ eNotifyType extNotify_getConfigMessage(char *username, { break; } - CtdlFreeMessage(msg); + CM_Free(msg); msg = NULL; } } @@ -206,7 +206,7 @@ eNotifyType extNotify_getConfigMessage(char *username, // type. This string would be at the very top of the message contents. CM_GetAsField(msg, eMesageText, &configMsg, &clen); - CtdlFreeMessage(msg); + CM_Free(msg); /* here we would find the pager number... */ pch = strchr(configMsg, '\n'); @@ -372,7 +372,7 @@ void process_notify(long NotifyMsgnum, void *usrdata) } if (FreeMe != NULL) free(FreeMe); - CtdlFreeMessage(msg); + CM_Free(msg); todelete[0] = NotifyMsgnum; CtdlDeleteMessages(FNBL_QUEUE_ROOM, todelete, 1, ""); }