changeset 1999:dcea7c329ad6 trunk

[svn] - don't memory leak the uri
author nenolod
date Thu, 23 Nov 2006 20:10:03 -0800
parents 1e0503521702
children 136de2662c91
files ChangeLog libaudacious/vfs.c
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Nov 23 20:07:35 2006 -0800
+++ b/ChangeLog	Thu Nov 23 20:10:03 2006 -0800
@@ -1,3 +1,11 @@
+2006-11-24 04:07:35 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2985]
+  - remove unneeded debugging notices ;)
+  
+  trunk/libaudacious/vfs.c |    8 --------
+  1 file changed, 8 deletions(-)
+
+
 2006-11-24 04:06:19 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2983]
   - NewVFS lives ;)
--- a/libaudacious/vfs.c	Thu Nov 23 20:07:35 2006 -0800
+++ b/libaudacious/vfs.c	Thu Nov 23 20:10:03 2006 -0800
@@ -105,6 +105,9 @@
     if (file->base->vfs_fclose_impl(file) != 0)
         ret = -1;
 
+    if (file->uri != NULL)
+        g_free(file->uri);
+
     g_free(file);
 
     return ret;