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/opendeco.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/opendeco.c') diff --git a/src/opendeco.c b/src/opendeco.c index 26eea7e..9329383 100644 --- a/src/opendeco.c +++ b/src/opendeco.c @@ -230,5 +230,6 @@ int main(int argc, char *argv[]) wprintf(L"\nNDL: %i TTS: %i TTS @+5: %i\n", (int) floor(di.ndl), (int) ceil(di.tts), (int) ceil(di_plus5.tts)); print_planfoot(&ds); + free(deco_gasses); return 0; } -- cgit v1.2.3-70-g09d2