mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 20:22:11 +01: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:
parent
f499e37979
commit
b3389b66d6
@ -470,6 +470,7 @@ test_string_append (void)
|
||||
g_assert_cmpstr (string->str, ==, "firsthalflasthalfmoreore");
|
||||
|
||||
g_string_free (string, TRUE);
|
||||
g_free (tmp);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user