Author: benny
Date: 2007-02-13 10:16:28 +0000 (Tue, 13 Feb 2007)
New Revision: 24966
Modified:
libxfce4util/branches/xfce_4_4/ChangeLog
libxfce4util/branches/xfce_4_4/libxfce4util/xfce-rc-config.c
libxfce4util/branches/xfce_4_4/libxfce4util/xfce-rc-simple.c
libxfce4util/branches/xfce_4_4/libxfce4util/xfce-rc.c
Log:
2007-02-12 Benedikt Meurer <[EMAIL PROTECTED]>
* libxfce4util/xfce-rc-config.c, libxfce4util/xfce-rc.c,
libxfce4util/xfce-rc-simple.c: Fix invalid g_slice_free1() in
XfceRc code. Bug #2854.
Modified: libxfce4util/branches/xfce_4_4/ChangeLog
===================================================================
--- libxfce4util/branches/xfce_4_4/ChangeLog 2007-02-12 22:18:26 UTC (rev
24965)
+++ libxfce4util/branches/xfce_4_4/ChangeLog 2007-02-13 10:16:28 UTC (rev
24966)
@@ -1,3 +1,9 @@
+2007-02-12 Benedikt Meurer <[EMAIL PROTECTED]>
+
+ * libxfce4util/xfce-rc-config.c, libxfce4util/xfce-rc.c,
+ libxfce4util/xfce-rc-simple.c: Fix invalid g_slice_free1() in
+ XfceRc code. Bug #2854.
+
2007-01-22 Benedikt Meurer <[EMAIL PROTECTED]>
* libxfce4util/xfce-rc-simple.c(_xfce_rc_simple_delete_group): Fix
Modified: libxfce4util/branches/xfce_4_4/libxfce4util/xfce-rc-config.c
===================================================================
--- libxfce4util/branches/xfce_4_4/libxfce4util/xfce-rc-config.c
2007-02-12 22:18:26 UTC (rev 24965)
+++ libxfce4util/branches/xfce_4_4/libxfce4util/xfce-rc-config.c
2007-02-13 10:16:28 UTC (rev 24966)
@@ -129,7 +129,7 @@
g_assert (user != NULL);
g_assert (paths != NULL);
- config = _xfce_slice_new0 (XfceRcConfig);
+ config = g_new0 (XfceRcConfig, 1);
/* system files first */
for (p = paths; *p != NULL; ++p)
Modified: libxfce4util/branches/xfce_4_4/libxfce4util/xfce-rc-simple.c
===================================================================
--- libxfce4util/branches/xfce_4_4/libxfce4util/xfce-rc-simple.c
2007-02-12 22:18:26 UTC (rev 24965)
+++ libxfce4util/branches/xfce_4_4/libxfce4util/xfce-rc-simple.c
2007-02-13 10:16:28 UTC (rev 24966)
@@ -600,7 +600,7 @@
{
XfceRcSimple *simple;
- simple = _xfce_slice_new0 (XfceRcSimple);
+ simple = g_new0 (XfceRcSimple, 1);
_xfce_rc_init (XFCE_RC (simple));
Modified: libxfce4util/branches/xfce_4_4/libxfce4util/xfce-rc.c
===================================================================
--- libxfce4util/branches/xfce_4_4/libxfce4util/xfce-rc.c 2007-02-12
22:18:26 UTC (rev 24965)
+++ libxfce4util/branches/xfce_4_4/libxfce4util/xfce-rc.c 2007-02-13
10:16:28 UTC (rev 24966)
@@ -168,7 +168,7 @@
if (rc->locale != NULL)
g_free (rc->locale);
- _xfce_slice_free (XfceRc, rc);
+ g_free (rc);
}
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits