[MPlayer-cvslog] r25215 - trunk/stream/stream_dvd.c

ben subversion at mplayerhq.hu
Fri Nov 30 20:54:31 CET 2007


Author: ben
Date: Fri Nov 30 20:54:30 2007
New Revision: 25215

Log:
this variable was nothing but a useless memleak

Modified:
   trunk/stream/stream_dvd.c

Modified: trunk/stream/stream_dvd.c
==============================================================================
--- trunk/stream/stream_dvd.c	(original)
+++ trunk/stream/stream_dvd.c	Fri Nov 30 20:54:30 2007
@@ -748,11 +748,9 @@ static int control(stream_t *stream,int 
 
 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;



More information about the MPlayer-cvslog mailing list