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

See https://gitlab.gnome.org/GNOME/glib/-/jobs/2547640

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Helps: #2904
This commit is contained in:
Philip Withnall 2023-01-31 11:51:43 +00:00
parent f499e37979
commit b3389b66d6

View File

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