mirror of https://github.com/mpv-player/mpv
stream_bluray: fix a minor memory leak
This commit is contained in:
parent
c8cc1f401b
commit
ca55a32922
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue