From 91d4100a41ebd24057b2a2a19c1f05442c7a08ea Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 17 Jan 2023 15:34:10 +0000 Subject: [PATCH] tests: Fix a minor leak in the GString tests Signed-off-by: Philip Withnall --- glib/tests/string.c | 1 + 1 file changed, 1 insertion(+) diff --git a/glib/tests/string.c b/glib/tests/string.c index 23f44015f..7d690e0e5 100644 --- a/glib/tests/string.c +++ b/glib/tests/string.c @@ -226,6 +226,7 @@ test_string_append (void) g_assert_cmpstr (string->str, ==, "firsthalflasthalfmoreore"); g_string_free (string, TRUE); + g_free (tmp); /* append_len */ string = g_string_new ("firsthalf");