diff options
Diffstat (limited to 'src/allocator.c')
| -rw-r--r-- | src/allocator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/allocator.c b/src/allocator.c index 10170ae..1a2d505 100644 --- a/src/allocator.c +++ b/src/allocator.c @@ -22,7 +22,7 @@ libzahl_realloc(z_t a, size_t need) a->chars = new; } else { a->chars = realloc(a->chars, new_size * sizeof(zahl_char_t)); - if (unlikely(!a->chars)) + if (check(unlikely(!a->chars))) libzahl_memfailure(); } a->alloced = new_size; |
