From 2438f463c339bc0759a30163c7894cb02bd6bf25 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 30 Nov 2007 19:54:30 +0000 Subject: this variable was nothing but a useless memleak git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25215 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream_dvd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index b8423153a4..31ec2e1774 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -748,11 +748,9 @@ static int control(stream_t *stream,int cmd,void* arg) static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { struct stream_priv_s* p = (struct stream_priv_s*)opts; - char *filename; int k; - filename = strdup(stream->url); - mp_msg(MSGT_OPEN,MSGL_V,"URL: %s\n", filename); + mp_msg(MSGT_OPEN,MSGL_V,"URL: %s\n", stream->url); dvd_title = p->title; if(1){ //int ret,ret2; -- cgit v1.2.3