diff src/audacious/vfs_buffered_file.c @ 3839:2cc7e450e08e

Fix an file descriptor leak.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 24 Oct 2007 11:55:53 +0300
parents 732abc5c1714
children 4eeb4c36867c
line wrap: on
line diff
--- a/src/audacious/vfs_buffered_file.c	Wed Oct 24 06:04:31 2007 +0300
+++ b/src/audacious/vfs_buffered_file.c	Wed Oct 24 11:55:53 2007 +0300
@@ -238,6 +238,7 @@
 
     if (!sz)
     {
+	vfs_fclose(fd->fd);
 	g_free(fd->mem);
 	g_free(fd);
 	g_free(handle);