stream_bluray: fix a minor memory leak

This commit is contained in:
wm4 2016-09-08 20:59:24 +02:00
parent c8cc1f401b
commit ca55a32922
1 changed files with 3 additions and 2 deletions

View File

@ -410,9 +410,10 @@ static int bluray_stream_open_internal(stream_t *s)
if (!ti)
continue;
char *time = mp_format_time(ti->duration / 90000, false);
MP_VERBOSE(s, "idx: %3d duration: %s (playlist: %05d.mpls)\n",
i + 1, mp_format_time(ti->duration / 90000, false),
ti->playlist);
i + 1, time, ti->playlist);
talloc_free(time);
/* try to guess which title may contain the main movie */
if (ti->duration > max_duration) {