Another memory leak from Huihui Huang.

This commit is contained in:
nicm
2026-02-23 08:54:56 +00:00
parent 8c7278b53a
commit a76e6eca6b

View File

@@ -90,6 +90,7 @@ cmd_server_access_exec(struct cmd *self, struct cmdq_item *item)
pw = getpwnam(name);
if (pw == NULL) {
cmdq_error(item, "unknown user: %s", name);
free(name);
return (CMD_RETURN_ERROR);
}
free(name);