From d16a9f118a650e6aa3e70a8adb8c8e2be38fbb70 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 11 Dec 2020 22:41:33 +0100 Subject: 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 --- subsurface-mobile-main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'subsurface-mobile-main.cpp') diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index 255f20053..21b0dfe46 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -86,6 +86,7 @@ int main(int argc, char **argv) qPref::sync(); free_prefs(); + clear_tank_info_table(&tank_info_table); return 0; } -- cgit v1.2.3-70-g09d2