Return to cmd-queue.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.90, 2020/04/14 06:00:52 | version 1.91, 2020/04/23 05:48:42 | ||
---|---|---|---|
|
|
||
void | void | ||
cmdq_free_state(struct cmdq_state *state) | cmdq_free_state(struct cmdq_state *state) | ||
{ | { | ||
if (--state->references == 0) | if (--state->references != 0) | ||
free(state); | return; | ||
if (state->formats != NULL) | |||
format_free(state->formats); | |||
free(state); | |||
} | } | ||
/* Add a format to command queue. */ | /* Add a format to command queue. */ |