aboutsummaryrefslogtreecommitdiffstats
path: root/core/equipment.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-12-11 22:41:33 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-13 11:49:59 -0800
commitd16a9f118a650e6aa3e70a8adb8c8e2be38fbb70 (patch)
tree26c4823483158706f37a7435e9b59c4784824c65 /core/equipment.c
parent50b11024d685129e78c36313b892dbc0e55c654c (diff)
downloadsubsurface-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 'core/equipment.c')
-rw-r--r--core/equipment.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/equipment.c b/core/equipment.c
index bdecbb3f7..0b40b30c0 100644
--- a/core/equipment.c
+++ b/core/equipment.c
@@ -118,7 +118,6 @@ void add_cylinder_description(const cylinder_type_t *type)
if (strcmp(tank_info_table.infos[i].name, desc) == 0)
return;
}
- // FIXME: leaked on exit
add_tank_info_metric(&tank_info_table, desc, type->size.mliter,
type->workingpressure.mbar / 1000);
}