diff options
author | Tim Segers <tsegers@pm.me> | 2022-10-11 22:57:23 +0200 |
---|---|---|
committer | Tim Segers <tsegers@pm.me> | 2022-10-11 22:57:23 +0200 |
commit | 91ecb15b1b6d7cb1e3cc88d32ae162afb4850fb4 (patch) | |
tree | 61ee449b36c8ed0bac95d9b18f02b248b6444294 /src/deco.c | |
parent | e2a4e48252ef051f99da0f2e7a0c1fa0ee00c5ea (diff) | |
download | opendeco-91ecb15b1b6d7cb1e3cc88d32ae162afb4850fb4.tar.gz |
Fix uninitialized decostate_t value and free gas list explicitly
Diffstat (limited to 'src/deco.c')
-rw-r--r-- | src/deco.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -290,6 +290,7 @@ void init_decostate(decostate_t *ds, const unsigned char gflo, const unsigned ch ds->gflo = gflo; ds->gfhi = gfhi; ds->firststop = -1; + ds->max_depth = 0; ds->ceil_multiple = ceil_multiple; } |