From 91ecb15b1b6d7cb1e3cc88d32ae162afb4850fb4 Mon Sep 17 00:00:00 2001 From: Tim Segers Date: Tue, 11 Oct 2022 22:57:23 +0200 Subject: Fix uninitialized decostate_t value and free gas list explicitly --- src/deco.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/deco.c') diff --git a/src/deco.c b/src/deco.c index 5d03e75..9719f06 100644 --- a/src/deco.c +++ b/src/deco.c @@ -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; } -- cgit v1.2.3-70-g09d2