changeset 969:971bd2b03ff5 trunk

[svn] - fix FD leak (pointed out by: Mikachu)
author nenolod
date Mon, 24 Apr 2006 21:41:50 -0700
parents 55161236115e
children 0f294f2b0a9b
files Plugins/Input/mpg123/mpg123.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/mpg123.c	Mon Apr 24 14:29:36 2006 -0700
+++ b/Plugins/Input/mpg123/mpg123.c	Mon Apr 24 21:41:50 2006 -0700
@@ -605,6 +605,7 @@
     if ((file = vfs_fopen(filename, "rb")) != NULL) {
         (*len_real) = get_song_time(file);
         (*title_real) = get_song_title(filename);
+	vfs_fclose(file);
     }
 }