changeset 1993:b9d5d917ae2a trunk

[svn] - filename_proxy need not and should not be freed here.
author yaz
date Thu, 23 Nov 2006 06:03:55 -0800
parents 5040e292c37e
children d5f23073efff
files ChangeLog audacious/input.c
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Nov 22 21:05:57 2006 -0800
+++ b/ChangeLog	Thu Nov 23 06:03:55 2006 -0800
@@ -1,3 +1,12 @@
+2006-11-23 05:05:57 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2973]
+  - remove the glade files for newui too.
+  
+  trunk/audacious/glade/Makefile    |    3 
+  trunk/audacious/glade/newui.glade |  718 --------------------------------------
+  2 files changed, 1 insertion(+), 720 deletions(-)
+
+
 2006-11-23 05:05:20 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2971]
   - remove newui
--- a/audacious/input.c	Wed Nov 22 21:05:57 2006 -0800
+++ b/audacious/input.c	Thu Nov 23 06:03:55 2006 -0800
@@ -462,7 +462,7 @@
     BmpTitleInput *input;
     GList *node;
     gchar *tmp = NULL, *ext;
-    gchar *filename_proxy = NULL;
+    gchar *filename_proxy;
     VFSFile *fd;
     gint ret = 1;
 
@@ -480,8 +480,6 @@
              (ret = ip->is_our_file_from_vfs(filename_proxy, fd) > 0) || 
              (ip->is_our_file != NULL &&
               (ret = ip->is_our_file(filename_proxy)) > 0))) {
-            g_free(filename_proxy);
-            filename_proxy = NULL;
             break;
         }
     }
@@ -519,7 +517,6 @@
     }
 
     g_free(filename_proxy);
-    filename_proxy = NULL;
 }
 
 TitleInput *