diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-04-13 19:15:26 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-05-10 21:04:50 +0200 |
commit | b47de46fa4189c8fa890851c1e63d57c6b7d1d9a (patch) | |
tree | afdddcea24df0fd62bcf344fdee0d47cabcf17bb /src/ui.hh | |
parent | 0943cbbc5a3d7e1f60c2b5fe730cfda0d830cdd4 (diff) |
Don't use assert to check if realloc() failed
Avoid using assert as when building with NDEBUG defined they become a
no-operation so the realloc is never done. Always perform the check and
exit accordingly.
Diffstat (limited to 'src/ui.hh')
0 files changed, 0 insertions, 0 deletions