changeset 198:5a338b31e393 trunk

[svn] memory leak fix, should close #368.e
author nenolod
date Wed, 16 Nov 2005 01:12:05 -0800
parents ccd034857702
children 0a2ad94e8607
files Plugins/Input/mpg123/http.c audacious/main.c
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/http.c	Tue Nov 15 20:21:50 2005 -0800
+++ b/Plugins/Input/mpg123/http.c	Wed Nov 16 01:12:05 2005 -0800
@@ -299,7 +299,6 @@
 static gboolean
 http_check_for_data(void)
 {
-
     fd_set set;
     struct timeval tv;
     gint ret;
--- a/audacious/main.c	Tue Nov 15 20:21:50 2005 -0800
+++ b/audacious/main.c	Wed Nov 16 01:12:05 2005 -0800
@@ -1052,6 +1052,7 @@
 	    /* headless eventloop */
 	    audcore_generic_events();
 	    ctrlsocket_check();
+	    free_vis_data();          /* to prevent buffer overflow -- paranoia */
             xmms_usleep(10000);
         }