mirror of
https://github.com/tmux/tmux.git
synced 2026-02-26 04:45:03 +00:00
Another memory leak from Huihui Huang.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user