mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +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));
|
||||
|
||||
t = g_thread_self ();
|
||||
g_value_take_boxed (&value, t);
|
||||
g_value_set_boxed (&value, t);
|
||||
|
||||
t2 = g_value_get_boxed (&value);
|
||||
g_assert (t == t2);
|
||||
|
Loading…
Reference in New Issue
Block a user