[Xfce4-commits] <xfconf:master> Plug small memory leak in xml parser.

Nick Schermer noreply at xfce.org
Mon Feb 8 19:56:02 CET 2010


Updating branch refs/heads/master
         to 128fad2d48fbaf23254249a4ec43587bf5958735 (commit)
       from 713d83f59f052fee228c4ba0e206a55da7152c55 (commit)

commit 128fad2d48fbaf23254249a4ec43587bf5958735
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Feb 8 18:44:58 2010 +0100

    Plug small memory leak in xml parser.

 xfconfd/xfconf-backend-perchannel-xml.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/xfconfd/xfconf-backend-perchannel-xml.c b/xfconfd/xfconf-backend-perchannel-xml.c
index 3c326e9..5ac5dae 100644
--- a/xfconfd/xfconf-backend-perchannel-xml.c
+++ b/xfconfd/xfconf-backend-perchannel-xml.c
@@ -1496,6 +1496,7 @@ xfconf_backend_perchannel_xml_end_elem(GMarkupParseContext *context,
 
         case ELEM_PROPERTY:
             /* FIXME: use stacks here */
+            g_free(state->list_property);
             state->list_property = NULL;
             state->list_value = NULL;
 



More information about the Xfce4-commits mailing list