aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/opendeco.c
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2022-10-11 22:57:23 +0200
committerGravatar Tim Segers <tsegers@pm.me>2022-10-11 22:57:23 +0200
commit91ecb15b1b6d7cb1e3cc88d32ae162afb4850fb4 (patch)
tree61ee449b36c8ed0bac95d9b18f02b248b6444294 /src/opendeco.c
parente2a4e48252ef051f99da0f2e7a0c1fa0ee00c5ea (diff)
downloadopendeco-91ecb15b1b6d7cb1e3cc88d32ae162afb4850fb4.tar.gz
Fix uninitialized decostate_t value and free gas list explicitly
Diffstat (limited to 'src/opendeco.c')
-rw-r--r--src/opendeco.c1
1 files changed, 1 insertions, 0 deletions
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;
}