# HG changeset patch # User nenolod # Date 1141841497 28800 # Node ID 7a1a46811a45aded9ef2ec06225de0292c9f2a00 # Parent df3412dc33c4dab999fbc30f66b233d76c68c093 [svn] - fix a FD leak here diff -r df3412dc33c4 -r 7a1a46811a45 Plugins/Input/sexypsf/xmms.c --- a/Plugins/Input/sexypsf/xmms.c Wed Mar 08 06:57:02 2006 -0800 +++ b/Plugins/Input/sexypsf/xmms.c Wed Mar 08 10:11:37 2006 -0800 @@ -47,12 +47,13 @@ InputPlugin *get_iplugin_info(void) - { - sexypsf_ip.description = "sexyPSF PSF1 Player 0.4.8"; - return &sexypsf_ip; - } +{ + sexypsf_ip.description = "sexyPSF PSF1 Player 0.4.8"; + return &sexypsf_ip; +} -static int is_our_file(gchar *filename) { +static int is_our_file(gchar *filename) +{ VFSFile *file; gchar magic[4]; @@ -73,6 +74,9 @@ return 1; } } + + vfs_fclose(file); + return 0; }