[Xfce4-commits] <libxfce4util:master> Don't used freed rc file to avoid crash (bug #9026).

Nick Schermer noreply at xfce.org
Tue Mar 19 19:44:01 CET 2013


Updating branch refs/heads/master
         to ee5b2a4cfa5f6e90421fc9f127266bdfd5000344 (commit)
       from b2d261a0e173f794e1863d745ad7809f15d97f3d (commit)

commit ee5b2a4cfa5f6e90421fc9f127266bdfd5000344
Author: Tim Starling <tstarling at wikimedia.org>
Date:   Tue Mar 19 19:42:43 2013 +0100

    Don't used freed rc file to avoid crash (bug #9026).

 libxfce4util/xfce-rc-config.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libxfce4util/xfce-rc-config.c b/libxfce4util/xfce-rc-config.c
index fe41801..b15baf0 100644
--- a/libxfce4util/xfce-rc-config.c
+++ b/libxfce4util/xfce-rc-config.c
@@ -144,6 +144,7 @@ _xfce_rc_config_new (XfceResourceType type,
         {
           g_critical ("Failed to parse file %s, ignoring.", *p);
           xfce_rc_close (XFCE_RC (simple));
+          simple = NULL;
           continue;
         }
       config->rclist = g_slist_append (config->rclist, simple);


More information about the Xfce4-commits mailing list