From 6e46edea5bb67485f00b7567275fd33c497447e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?GOUJON=20=C3=89van?= Date: Thu, 22 Jul 2021 16:45:37 +0200 Subject: [PATCH] gobject/tests/param: Fix a memory leak --- gobject/tests/param.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gobject/tests/param.c b/gobject/tests/param.c index 3ab87ef77..e1f3cdeb1 100644 --- a/gobject/tests/param.c +++ b/gobject/tests/param.c @@ -905,6 +905,7 @@ main (int argc, char *argv[]) data.use_this_flag, data.use_this_type); test_data = g_memdup2 (&data, sizeof (TestParamImplementData)); g_test_add_data_func_full (test_path, test_data, test_param_implement_child, g_free); + g_free (test_data); g_free (test_path); }