diff --git a/gio/tests/socket-service.c b/gio/tests/socket-service.c index 8487a700e..c763fa6e6 100644 --- a/gio/tests/socket-service.c +++ b/gio/tests/socket-service.c @@ -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); diff --git a/tests/threadpool-test.c b/tests/threadpool-test.c index b2cb4d99e..dfd138212 100644 --- a/tests/threadpool-test.c +++ b/tests/threadpool-test.c @@ -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