diff options
author | Tim Starling <tstarling@wikimedia.org> | 2013-03-19 19:42:43 +0100 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2013-05-04 16:32:31 +0200 |
commit | 85c891ae80f3ca6d87f682ba957dbf9bf3eb8bf0 (patch) | |
tree | fc253fa7de76f18f6b0bb8cb6847f2584fe2c8d9 | |
parent | 47f84a0e183755f35028069988d927f24bad69c6 (diff) | |
download | libxfce4util-85c891ae80f3ca6d87f682ba957dbf9bf3eb8bf0.tar.gz |
Don't used freed rc file to avoid crash (bug #9026).
(cherry picked from commit ee5b2a4cfa5f6e90421fc9f127266bdfd5000344)
-rw-r--r-- | 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); |