From cf8ff2fd87b5dcf7310eb552f251e6d901c6230e Mon Sep 17 00:00:00 2001 From: xylosper Date: Mon, 24 Mar 2014 21:50:04 +0900 Subject: stream_bluray: fix for significant memory leak It's obvious but, since STREAM_CTRL_GET_TIME_LENGTH is called frequently, the amount of leaked memory here is quite big. --- stream/stream_bluray.c | 1 + 1 file changed, 1 insertion(+) diff --git a/stream/stream_bluray.c b/stream/stream_bluray.c index d7a8d0b0cf..ab8b6d6d38 100644 --- a/stream/stream_bluray.c +++ b/stream/stream_bluray.c @@ -187,6 +187,7 @@ static int bluray_stream_control(stream_t *s, int cmd, void *arg) return STREAM_UNSUPPORTED; *((double *) arg) = BD_TIME_TO_MP(ti->duration); + bd_free_title_info(ti); return STREAM_OK; } -- cgit v1.2.3