boxed: Fix double free in boxed unit tests

https://bugzilla.gnome.org/show_bug.cgi?id=711782
This commit is contained in:
Stef Walter 2013-11-10 14:48:36 +01:00
parent 91c8fb82fe
commit b88f992c6e

View File

@ -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);