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

Nick Schermer noreply at xfce.org
Sat May 4 16:34:01 CEST 2013


Updating branch refs/heads/xfce-4.10
         to 85c891ae80f3ca6d87f682ba957dbf9bf3eb8bf0 (commit)
       from 47f84a0e183755f35028069988d927f24bad69c6 (commit)

commit 85c891ae80f3ca6d87f682ba957dbf9bf3eb8bf0
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).
    
    (cherry picked from commit ee5b2a4cfa5f6e90421fc9f127266bdfd5000344)

 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