summaryrefslogtreecommitdiff
path: root/tests/unistr/test-strchr.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unistr/test-strchr.h')
-rw-r--r--tests/unistr/test-strchr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unistr/test-strchr.h b/tests/unistr/test-strchr.h
index b6d54e7..b5d0a1f 100644
--- a/tests/unistr/test-strchr.h
+++ b/tests/unistr/test-strchr.h
@@ -1,5 +1,5 @@
/* Test of uN_strchr() functions.
- Copyright (C) 2008-2018 Free Software Foundation, Inc.
+ Copyright (C) 2008-2022 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -158,4 +158,6 @@ test_strchr (void)
#endif
free (input);
+ if (sizeof (UNIT) != sizeof (uint32_t))
+ free (input32);
}