diff options
author | Marco Trevisan <mail@3v1n0.net> | 2023-02-01 16:29:04 +0000 |
---|---|---|
committer | Marco Trevisan <mail@3v1n0.net> | 2023-02-01 16:29:04 +0000 |
commit | fe2de360de9fa14b26599075dc7de4a6719e1660 (patch) | |
tree | 6a221a95433788fcb9d9b9b5d19066dcd48ed126 /glib | |
parent | 155e44652e3686a3837fe97d69ece1a7ef53968f (diff) | |
parent | b3389b66d6b3d84a39935ba0104d3048ffeabf77 (diff) | |
download | glib-fe2de360de9fa14b26599075dc7de4a6719e1660.tar.gz |
Merge branch 'cxx-leak' into 'main'
tests: Fix a minor leak in the cxx string append tests
See merge request GNOME/glib!3247
Diffstat (limited to 'glib')
-rw-r--r-- | glib/tests/cxx.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glib/tests/cxx.cpp b/glib/tests/cxx.cpp index 8c31f7380..243134009 100644 --- a/glib/tests/cxx.cpp +++ b/glib/tests/cxx.cpp @@ -470,6 +470,7 @@ test_string_append (void) g_assert_cmpstr (string->str, ==, "firsthalflasthalfmoreore"); g_string_free (string, TRUE); + g_free (tmp); } static void |