From 842e06d7d387bfef6c29aa6b98790ef907ac3e36 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Sun, 23 May 2021 13:59:57 +0200 Subject: [PATCH] Possibly fix small memory leak. --- src/modules/authprompt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ }