[MPlayer-cvslog] CVS: main/libmenu menu_filesel.c,1.10,1.11

Aurelien Jacobs CVS syncmail at mplayerhq.hu
Sat Jul 23 00:52:15 CEST 2005


CVS change done by Aurelien Jacobs CVS

Update of /cvsroot/mplayer/main/libmenu
In directory mail:/var2/tmp/cvs-serv8527/libmenu

Modified Files:
	menu_filesel.c 
Log Message:
add some closedir() to fix some opendir() leaks

Index: menu_filesel.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmenu/menu_filesel.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- menu_filesel.c	15 Aug 2003 18:45:35 -0000	1.10
+++ menu_filesel.c	22 Jul 2005 22:52:13 -0000	1.11
@@ -177,6 +177,8 @@
   }
 
 bailout:
+  closedir(dirp);
+
   qsort(namelist, n, sizeof(char *), (kill_warn)compare);
 
   if (n < 0) {




More information about the MPlayer-cvslog mailing list