diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-08 13:18:25 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-08 18:27:20 +0000 |
| commit | bfd3eb47ec164b289c0da812817629236acdc43d (patch) | |
| tree | 9d8d717a5a884a3d5094555e4c00d0b334bd3057 /debug.c | |
| parent | term: osc8-open: assert URI in VT struct is NULL (diff) | |
term: reset: fix reset of the VT struct
1. Free buffers and strings
2. memset() the vt struct
3. re-initialize members that must not be zero
We _could_ replace the memset() with explicit zeroing of all the
members. It’s just that there’s a lot of arrays, so this is much
easier.
Closes #495
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions
