changeset 3839:2cc7e450e08e

Fix an file descriptor leak.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 24 Oct 2007 11:55:53 +0300
parents 74cfd332a56d
children 46591501603e
files src/audacious/vfs_buffered_file.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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);