diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2023-01-31 11:51:43 +0000 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2023-01-31 11:52:11 +0000 |
commit | b3389b66d6b3d84a39935ba0104d3048ffeabf77 (patch) | |
tree | beaa2d1f6672c9abf9052593a63080069d1ae47f | |
parent | f499e37979c09409d553a49562c6a0a9a65267af (diff) | |
download | glib-b3389b66d6b3d84a39935ba0104d3048ffeabf77.tar.gz |
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
-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 abd8a8d67..d3795363a 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); } int |