mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 02:06:18 +01:00
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:
commit
82da45c465
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user