From 41fcb330341993e764495cdef6d4f516624696ed Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 14 Apr 2022 13:26:25 +0100 Subject: [PATCH] tests: Fix a minor leak in the unicode-normalize test Signed-off-by: Philip Withnall Coverity CID: #1487904 --- glib/tests/unicode-normalize.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/glib/tests/unicode-normalize.c b/glib/tests/unicode-normalize.c index 52426be43..2a594c63e 100644 --- a/glib/tests/unicode-normalize.c +++ b/glib/tests/unicode-normalize.c @@ -127,7 +127,10 @@ test_unicode_normalize (void) columns = g_strsplit (buffer->str, ";", -1); if (!columns[0]) - goto next; + { + g_strfreev (columns); + goto next; + } process_one (line, columns); g_strfreev (columns);