mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Make tests work with slice allocator
This commit is contained in:
parent
470abcc950
commit
a2f85d23ef
@ -1,4 +1,7 @@
|
||||
2005-12-01 Matthias Clasen <mclasen@redhat.com>
|
||||
2005-12-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* tests/gobject/ifacecheck.c (test_iface_base_init): Don't
|
||||
double-free base interface members.
|
||||
|
||||
* tests/Makefile.am: Remove duplicate variable.
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
2005-12-01 Matthias Clasen <mclasen@redhat.com>
|
||||
2005-12-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* tests/gobject/ifacecheck.c (test_iface_base_init): Don't
|
||||
double-free base interface members.
|
||||
|
||||
* tests/Makefile.am: Remove duplicate variable.
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
2005-12-01 Matthias Clasen <mclasen@redhat.com>
|
||||
2005-12-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* tests/gobject/ifacecheck.c (test_iface_base_init): Don't
|
||||
double-free base interface members.
|
||||
|
||||
* tests/Makefile.am: Remove duplicate variable.
|
||||
|
||||
|
@ -47,9 +47,7 @@ struct _TestIfaceClass
|
||||
static void
|
||||
test_iface_base_init (TestIfaceClass *iface)
|
||||
{
|
||||
if (iface->history)
|
||||
g_string_free (iface->history, TRUE);
|
||||
iface->history = g_string_new (NULL);
|
||||
iface->history = g_string_new (iface->history ? iface->history->str : NULL);
|
||||
}
|
||||
|
||||
static DEFINE_IFACE(TestIface, test_iface, test_iface_base_init, NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user