Merge branch 'cxx-leak' into 'main'

tests: Fix a minor leak in the cxx string append tests

See merge request GNOME/glib!3247
This commit is contained in:
Marco Trevisan 2023-02-01 16:29:04 +00:00
commit fe2de360de

View File

@ -470,6 +470,7 @@ test_string_append (void)
g_assert_cmpstr (string->str, ==, "firsthalflasthalfmoreore"); g_assert_cmpstr (string->str, ==, "firsthalflasthalfmoreore");
g_string_free (string, TRUE); g_string_free (string, TRUE);
g_free (tmp);
} }
static void static void