mirror of https://github.com/mpv-player/mpv
input: remove potential minor memory leak
This commit is contained in:
parent
b31f2f6cb9
commit
66a46cba89
|
@ -1082,6 +1082,7 @@ static void bind_dealloc(struct cmd_bind *bind)
|
||||||
{
|
{
|
||||||
talloc_free(bind->cmd);
|
talloc_free(bind->cmd);
|
||||||
talloc_free(bind->location);
|
talloc_free(bind->location);
|
||||||
|
talloc_free(bind->desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
// builtin: if true, remove all builtin binds, else remove all user binds
|
// builtin: if true, remove all builtin binds, else remove all user binds
|
||||||
|
|
Loading…
Reference in New Issue