1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 13:13:12 +02:00

Possibly fix small memory leak.

This commit is contained in:
Bram Matthys
2021-05-23 13:59:57 +02:00
parent 92b9fa07a1
commit 842e06d7d3
+1 -1
View File
@@ -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 */
}