diff --git a/src/modules/authprompt.c b/src/modules/authprompt.c index 132abda5b..3a46d96e7 100644 --- a/src/modules/authprompt.c +++ b/src/modules/authprompt.c @@ -451,7 +451,7 @@ int authprompt_sasl_continuation(Client *client, char *buf) sendto_one(agent, NULL, ":%s SASL %s %s C %s", me.id, AGENT_SID(agent), client->id, SEUSER(client)->authmsg); } - SEUSER(client)->authmsg = NULL; + safe_free(SEUSER(client)->authmsg); } return 1; /* inhibit displaying of message */ }