Author: kelnos
Date: 2008-07-25 19:13:30 +0000 (Fri, 25 Jul 2008)
New Revision: 27372

Modified:
   xfconf/trunk/xfconfd/xfconf-backend-perchannel-xml.c
Log:
remove unneeded code, fixes memleak on channel load

Modified: xfconf/trunk/xfconfd/xfconf-backend-perchannel-xml.c
===================================================================
--- xfconf/trunk/xfconfd/xfconf-backend-perchannel-xml.c        2008-07-24 
12:40:19 UTC (rev 27371)
+++ xfconf/trunk/xfconfd/xfconf-backend-perchannel-xml.c        2008-07-25 
19:13:30 UTC (rev 27372)
@@ -118,7 +118,6 @@
     GNode *properties;
     gboolean is_system_file;
     XmlParserElem cur_elem;
-    gchar *channel_name;
     gboolean channel_locked;
     gchar cur_path[MAX_PROP_PATH];
     gchar *list_property;
@@ -891,10 +890,6 @@
                     return;
                 }
 
-                /* FIXME: validate name for valid chars */
-                /* FIXME: Is this used at all? Where does it need to be 
free'd? */
-                state->channel_name = g_strdup(name);
-
                 if((locked && *locked) || (unlocked && *unlocked)) {
                     if(!state->is_system_file) {
                         if(error) {

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to