summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-23 14:14:19 +0100
committerwm4 <wm4@nowhere>2019-11-23 14:14:19 +0100
commit66a46cba89e386de08634d53549e26aa0b558199 (patch)
treee59f3fe91c906a32e0131951c63a44a99f2a4500
parentb31f2f6cb957a492debc32a721cbb09fb1035a57 (diff)
downloadmpv-66a46cba89e386de08634d53549e26aa0b558199.tar.bz2
mpv-66a46cba89e386de08634d53549e26aa0b558199.tar.xz
input: remove potential minor memory leak
-rw-r--r--input/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 80457fcd5c..31ccf70a36 100644
--- a/input/input.c
+++ b/input/input.c
@@ -1082,6 +1082,7 @@ static void bind_dealloc(struct cmd_bind *bind)
{
talloc_free(bind->cmd);
talloc_free(bind->location);
+ talloc_free(bind->desc);
}
// builtin: if true, remove all builtin binds, else remove all user binds