diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-12-11 22:41:33 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-13 11:49:59 -0800 |
commit | d16a9f118a650e6aa3e70a8adb8c8e2be38fbb70 (patch) | |
tree | 26c4823483158706f37a7435e9b59c4784824c65 /subsurface-desktop-main.cpp | |
parent | 50b11024d685129e78c36313b892dbc0e55c654c (diff) | |
download | subsurface-d16a9f118a650e6aa3e70a8adb8c8e2be38fbb70.tar.gz |
core: free tank info table on exit
This is obviously a pure code-hygiene thing. But with the new
dynamic tank info table, this becomes trivial, so let's do it.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'subsurface-desktop-main.cpp')
-rw-r--r-- | subsurface-desktop-main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-desktop-main.cpp b/subsurface-desktop-main.cpp index af7352ec5..f3bd05821 100644 --- a/subsurface-desktop-main.cpp +++ b/subsurface-desktop-main.cpp @@ -116,6 +116,7 @@ int main(int argc, char **argv) qPref::sync(); free_prefs(); + clear_tank_info_table(&tank_info_table); return 0; } |