[Mplayer-cvslog] CVS: main subreader.c,1.105,1.106

Alex Beregszaszi alex at mplayerhq.hu
Sat May 31 19:33:36 CEST 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv27811

Modified Files:
	subreader.c 
Log Message:
unleak

Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- subreader.c	9 Apr 2003 20:49:12 -0000	1.105
+++ subreader.c	31 May 2003 17:33:33 -0000	1.106
@@ -1739,6 +1739,8 @@
 	result2[i] = result[i].fname;
     }
     result2[subcnt] = NULL;
+    
+    free(result);
 
     return result2;
 }



More information about the MPlayer-cvslog mailing list