tests: Fix a minor leak in the GString tests

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2023-01-17 15:34:10 +00:00
parent 438006899e
commit 91d4100a41

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