From 06996810bfdb397aad766d66aa655c4625a7a253 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 30 Jul 2013 16:06:06 +0200 Subject: stream_dvd: fix .ifo redirection This was blatantly broken after stream->url was changed to talloc. --- stream/stream_dvd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'stream/stream_dvd.c') diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index 565054d81b..b27e71e3ab 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -1085,8 +1085,7 @@ static int ifo_stream_open (stream_t *stream, int mode, void *opts) spriv->title=1; free(filename); - free(stream->url); - stream->url=strdup("dvd://"); + stream->url=talloc_strdup(stream, "dvd://"); return open_s(stream, mode, spriv); } -- cgit v1.2.3