summaryrefslogtreecommitdiffstats
path: root/player/dvdnav.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/dvdnav.c')
-rw-r--r--player/dvdnav.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/dvdnav.c b/player/dvdnav.c
index 3f711b4834..0832e7fd9d 100644
--- a/player/dvdnav.c
+++ b/player/dvdnav.c
@@ -142,6 +142,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: {