mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
tests: Fix a minor leak in the unicode-normalize test
Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Coverity CID: #1487904
This commit is contained in:
parent
d987146fe1
commit
41fcb33034
@ -127,7 +127,10 @@ test_unicode_normalize (void)
|
|||||||
|
|
||||||
columns = g_strsplit (buffer->str, ";", -1);
|
columns = g_strsplit (buffer->str, ";", -1);
|
||||||
if (!columns[0])
|
if (!columns[0])
|
||||||
goto next;
|
{
|
||||||
|
g_strfreev (columns);
|
||||||
|
goto next;
|
||||||
|
}
|
||||||
|
|
||||||
process_one (line, columns);
|
process_one (line, columns);
|
||||||
g_strfreev (columns);
|
g_strfreev (columns);
|
||||||
|
Loading…
Reference in New Issue
Block a user