changeset 1151:31ad9abf9606 trunk

[svn] - fix FD leakage. closes #954.
author nenolod
date Tue, 29 May 2007 00:59:45 -0700
parents 3506c611a802
children 949457464b28
files ChangeLog src/flac/libflac/stream_decoder.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon May 28 23:29:02 2007 -0700
+++ b/ChangeLog	Tue May 29 00:59:45 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-29 06:29:02 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2466]
+  - fix registration of lastfm session ID
+  
+  trunk/src/lastfm/lastfm.c |   10 ++--------
+  1 file changed, 2 insertions(+), 8 deletions(-)
+
+
 2007-05-29 06:16:25 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2464]
   - expose lastfm internal data over mowgli's global storage subsystem so that plugins can manipulate lastfm listening indirectly
--- a/src/flac/libflac/stream_decoder.c	Mon May 28 23:29:02 2007 -0700
+++ b/src/flac/libflac/stream_decoder.c	Tue May 29 00:59:45 2007 -0700
@@ -723,6 +723,8 @@
 #ifndef USE_VFS
 		if(decoder->private_->file != stdin)
 			fclose(decoder->private_->file);
+#else
+		vfs_fclose(decoder->private_->file);
 #endif
 		decoder->private_->file = 0;
 	}