summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/dvdnav.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/dvdnav.c b/player/dvdnav.c
index d267d156f8..12ce5b621b 100644
--- a/player/dvdnav.c
+++ b/player/dvdnav.c
@@ -166,6 +166,7 @@ void mp_handle_nav(struct MPContext *mpctx)
MP_VERBOSE(nav, "reload\n");
// return immediately.
// other events should be handled after reloaded.
+ talloc_free(ev);
return;
}
case MP_NAV_EVENT_RESET: {