Need to set clients in context before changing their reference count.

This commit is contained in:
Nicholas Marriott
2013-02-20 10:25:15 +00:00
parent e68b9abd04
commit afd5e978cf
9 changed files with 12 additions and 15 deletions

2
tmux.h
View File

@ -1714,7 +1714,7 @@ long long args_strtonum(
struct args *, u_char, long long, long long, char **);
/* cmd.c */
struct cmd_ctx *cmd_get_ctx(void);
struct cmd_ctx *cmd_get_ctx(struct client *, struct client *);
void cmd_free_ctx(struct cmd_ctx *);
void cmd_ref_ctx(struct cmd_ctx *);
int cmd_pack_argv(int, char **, char *, size_t);