mirror of
https://github.com/tmux/tmux.git
synced 2026-10-13 22:34:23 +00:00
Do no free input context if it is NULL when popup create fails.
This commit is contained in:
3
popup.c
3
popup.c
@@ -110,7 +110,8 @@ popup_free(struct popup_data *pd)
|
|||||||
|
|
||||||
if (pd->job != NULL)
|
if (pd->job != NULL)
|
||||||
job_free(pd->job);
|
job_free(pd->job);
|
||||||
input_free(pd->ictx);
|
if (pd->ictx != NULL)
|
||||||
|
input_free(pd->ictx);
|
||||||
|
|
||||||
free(pd->or[0].ranges);
|
free(pd->or[0].ranges);
|
||||||
free(pd->or[1].ranges);
|
free(pd->or[1].ranges);
|
||||||
|
|||||||
Reference in New Issue
Block a user