changeset 1327:5bd743a3417b trunk

[svn] fix for memory leak in bmp_rcfile_open()
author yaz
date Sat, 24 Jun 2006 02:57:45 -0700
parents 41b498d5ae4b
children a5907f17d4a1
files ChangeLog libaudacious/rcfile.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jun 24 02:43:36 2006 -0700
+++ b/ChangeLog	Sat Jun 24 02:57:45 2006 -0700
@@ -1,3 +1,12 @@
+2006-06-24 09:43:36 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1564]
+  - avoid a memory leak with images
+  
+
+  Changes:        Modified:
+  +2 -0           trunk/audacious/ui_fileinfo.c  
+
+
 2006-06-23 20:34:05 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [1562]
   Have period time default to 100ms to keep snd-aoa on PPC from going all clickety-click on us.
--- a/libaudacious/rcfile.c	Sat Jun 24 02:43:36 2006 -0700
+++ b/libaudacious/rcfile.c	Sat Jun 24 02:57:45 2006 -0700
@@ -104,6 +104,7 @@
                 if (strlen(frags[1]) > 0) {
                     bmp_rcfile_create_string(section, frags[0], frags[1]);
                 };
+		g_strfreev(frags);
             }
         }
         i++;