changeset 264:1e6e497e039f trunk

[svn] - add missing vfs_fclose().
author nenolod
date Sat, 18 Nov 2006 19:00:23 -0800
parents 7e1d5cc9ef1b
children 32de2fc2270a
files ChangeLog src/wavpack/libwavpack.cxx
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Nov 18 18:56:23 2006 -0800
+++ b/ChangeLog	Sat Nov 18 19:00:23 2006 -0800
@@ -1,3 +1,11 @@
+2006-11-19 02:56:23 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [550]
+  - fix wavpack plugin
+  
+  trunk/src/wavpack/libwavpack.cxx |   22 ++++++++++++++++++++--
+  1 file changed, 20 insertions(+), 2 deletions(-)
+
+
 2006-11-19 00:29:50 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [548]
   So input.c wants to have the old-style function available...
--- a/src/wavpack/libwavpack.cxx	Sat Nov 18 18:56:23 2006 -0800
+++ b/src/wavpack/libwavpack.cxx	Sat Nov 18 19:00:23 2006 -0800
@@ -273,6 +273,7 @@
 	return FALSE;
 
     vfs_fread(magic,1,4,file);
+    vfs_fclose(file);
 
     if (!memcmp(magic,"wvpk",4))
         return TRUE;