diff options
Diffstat (limited to 'input/input.c')
-rw-r--r-- | input/input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c index 8f5951613a..3d898aa0af 100644 --- a/input/input.c +++ b/input/input.c @@ -1770,6 +1770,9 @@ struct input_ctx *mp_input_init(int use_gui) void mp_input_uninit(struct input_ctx *ictx) { + if (!ictx) + return; + unsigned int i; mp_cmd_bind_section_t* bind_section; |