thread-test: Fix leaks in tests

This is a test of deprecated functionality and its age is
showing. Doesn't actually do what it says. But fix leaks anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=711751
This commit is contained in:
Stef Walter 2013-11-09 20:51:18 +01:00
parent ae1764b4e0
commit e8cc0966d4

View File

@ -391,5 +391,10 @@ main (int argc,
g_thread_use_default_impl = FALSE;
run_all_tests ();
/* XXX: And this shows how silly the above non-native tests are */
g_static_rw_lock_free (&test_g_static_rw_lock_lock);
g_static_rec_mutex_free (&test_g_static_rec_mutex_mutex);
g_static_private_free (&test_g_static_private_private2);
return 0;
}