aboutsummaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2021-11-20 15:23:24 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2021-11-20 15:23:24 +0000
commite89e735995382de9b5dd8df5d1f45ed9f766f06a (patch)
treec5380dfa668fc6072c461c83fd0006172d6a31eb /debug.c
parentconfig: fix memory leak in value_to_enum() (diff)
config: use stack allocation for temporary buffer in value_to_enum()
The maximum size required for the string buffer is relatively small, known at compile-time and not likely to ever grow beyond 512 bytes. Therefore we may as well just use the stack.
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions