mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 12:28:48 +02:00
Make tests work with slice allocator
This commit is contained in:
parent
470abcc950
commit
a2f85d23ef
@ -1,5 +1,8 @@
|
|||||||
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.
|
* tests/Makefile.am: Remove duplicate variable.
|
||||||
|
|
||||||
Thu Dec 1 17:32:46 2005 Tim Janik <timj@imendio.com>
|
Thu Dec 1 17:32:46 2005 Tim Janik <timj@imendio.com>
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
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.
|
* tests/Makefile.am: Remove duplicate variable.
|
||||||
|
|
||||||
Thu Dec 1 17:32:46 2005 Tim Janik <timj@imendio.com>
|
Thu Dec 1 17:32:46 2005 Tim Janik <timj@imendio.com>
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
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.
|
* tests/Makefile.am: Remove duplicate variable.
|
||||||
|
|
||||||
Thu Dec 1 17:32:46 2005 Tim Janik <timj@imendio.com>
|
Thu Dec 1 17:32:46 2005 Tim Janik <timj@imendio.com>
|
||||||
|
@ -47,9 +47,7 @@ struct _TestIfaceClass
|
|||||||
static void
|
static void
|
||||||
test_iface_base_init (TestIfaceClass *iface)
|
test_iface_base_init (TestIfaceClass *iface)
|
||||||
{
|
{
|
||||||
if (iface->history)
|
iface->history = g_string_new (iface->history ? iface->history->str : NULL);
|
||||||
g_string_free (iface->history, TRUE);
|
|
||||||
iface->history = g_string_new (NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static DEFINE_IFACE(TestIface, test_iface, test_iface_base_init, NULL)
|
static DEFINE_IFACE(TestIface, test_iface, test_iface_base_init, NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user