mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 15:18:55 +02:00
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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Reference in New Issue
Block a user