mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 03:46:17 +01:00
Merge branch 'wip/test-leaks' into 'master'
Fix straightforward memory leaks in tests See merge request GNOME/glib!1908
This commit is contained in:
commit
96cf1b79c5
@ -342,6 +342,7 @@ writtenv_read_write_async_cb (GOutputStream *ostream,
|
||||
|
||||
conn = data->conn;
|
||||
g_free (data->data);
|
||||
g_free (data->vectors);
|
||||
g_free (data);
|
||||
|
||||
res = g_output_stream_writev_all_finish (ostream, result, &bytes_written, &error);
|
||||
|
@ -295,6 +295,7 @@ test_thread_sort (gboolean sort)
|
||||
|
||||
g_assert (g_thread_pool_get_max_threads (pool) == max_threads);
|
||||
g_assert (g_thread_pool_get_num_threads (pool) == g_thread_pool_get_max_threads (pool));
|
||||
g_thread_pool_free (pool, TRUE, TRUE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user