[MPlayer-cvslog] r33518 - trunk/stream/stream_cue.c
reimar
subversion at mplayerhq.hu
Sun May 29 14:06:00 CEST 2011
Author: reimar
Date: Sun May 29 14:05:59 2011
New Revision: 33518
Log:
Remove a duplicated open() call that could lead to a
file-descriptor leak in some cases.
Modified:
trunk/stream/stream_cue.c
Modified: trunk/stream/stream_cue.c
==============================================================================
--- trunk/stream/stream_cue.c Sun May 29 13:56:11 2011 (r33517)
+++ trunk/stream/stream_cue.c Sun May 29 14:05:59 2011 (r33518)
@@ -230,7 +230,6 @@ static int cue_find_bin (const char *fir
case 3:
/* ok try it with path */
snprintf(t, sizeof( t ), "%s/%s", bincue_path, s);
- fd_bin = open (t, O_RDONLY);
cur_name = t;
break;
case 4:
More information about the MPlayer-cvslog
mailing list