Merge branch 'string-test-leak' into 'main'

tests: Fix a minor leak in the GString tests

See merge request GNOME/glib!3207
This commit is contained in:
Marco Trevisan 2023-01-17 21:55:20 +00:00
commit 82da45c465

View File

@ -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");