mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
boxed: Fix double free in boxed unit tests
https://bugzilla.gnome.org/show_bug.cgi?id=711782
This commit is contained in:
parent
91c8fb82fe
commit
b88f992c6e
@ -581,7 +581,7 @@ test_boxed_thread (void)
|
|||||||
g_assert (G_VALUE_HOLDS_BOXED (&value));
|
g_assert (G_VALUE_HOLDS_BOXED (&value));
|
||||||
|
|
||||||
t = g_thread_self ();
|
t = g_thread_self ();
|
||||||
g_value_take_boxed (&value, t);
|
g_value_set_boxed (&value, t);
|
||||||
|
|
||||||
t2 = g_value_get_boxed (&value);
|
t2 = g_value_get_boxed (&value);
|
||||||
g_assert (t == t2);
|
g_assert (t == t2);
|
||||||
|
Loading…
Reference in New Issue
Block a user