From 99044308b5820a450d5440f6c2a424cad02cb019 Mon Sep 17 00:00:00 2001 From: xylosper Date: Mon, 24 Mar 2014 21:50:04 +0900 Subject: [PATCH] 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 9c9dd4f7d0..6836da22d0 100644 --- a/stream/stream_bluray.c +++ b/stream/stream_bluray.c @@ -196,6 +196,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; }