# HG changeset patch # User chainsaw # Date 1163421319 28800 # Node ID e45005422574fe69fec6e771d2944801afe863d4 # Parent 74f307156fa5f3cd6c6bdd3f9db3526bffcab264 [svn] FD leak fix by TiCPU, submitted in #audacious. diff -r 74f307156fa5 -r e45005422574 ChangeLog --- a/ChangeLog Sat Nov 11 10:56:43 2006 -0800 +++ b/ChangeLog Mon Nov 13 04:35:19 2006 -0800 @@ -1,3 +1,11 @@ +2006-11-11 18:56:43 +0000 William Pitcock + revision [490] + - fix a potential segfault on x86 + + trunk/src/paranormal/wave.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + + 2006-11-07 10:11:05 +0000 William Pitcock revision [488] - a slightly better way of doing things here diff -r 74f307156fa5 -r e45005422574 src/cue/cuesheet.c --- a/src/cue/cuesheet.c Sat Nov 11 10:56:43 2006 -0800 +++ b/src/cue/cuesheet.c Mon Nov 13 04:35:19 2006 -0800 @@ -370,8 +370,10 @@ gint p; gint q; - if (vfs_fgets(line, MAX_CUE_LINE_LENGTH+1, file) == NULL) + if (vfs_fgets(line, MAX_CUE_LINE_LENGTH+1, file) == NULL) { + vfs_fclose(file); return; + } for (p = 0; line[p] && isspace((int) line[p]); p++); if (!line[p])