diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2024-01-25 07:03:50 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2024-01-25 07:03:50 +0000 |
| commit | 91b22ae21acd0b3171814b47b0dead027f8da779 (patch) | |
| tree | 6504247289226858803cded93ffff0dd8aafcad0 /char32.c | |
| parent | wayland: 'mode' is unused when LOG_ENABLE_DBG is not set (diff) | |
Replace unchecked allocations with calls to xmalloc.h functions
Diffstat (limited to 'char32.c')
| -rw-r--r-- | char32.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -129,11 +129,11 @@ UNITTEST UNITTEST { - char32_t *c = c32dup(U"foobar"); + char32_t *c = xc32dup(U"foobar"); xassert(c32cmp(c, U"foobar") == 0); free(c); - c = c32dup(U""); + c = xc32dup(U""); xassert(c32cmp(c, U"") == 0); free(c); } |
