diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-12-18 08:47:58 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-18 08:34:00 -0800 |
commit | 508f930660012a236e5662ecdf59e5c86040a872 (patch) | |
tree | 76b4f3f191c3dc34c8ac1e481016ec4bc3450bfd /equipment.c | |
parent | 6e72b5b8c5ce86effb6d31ea14bf85a9c37237a6 (diff) | |
download | subsurface-508f930660012a236e5662ecdf59e5c86040a872.tar.gz |
Document found leaks
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'equipment.c')
-rw-r--r-- | equipment.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/equipment.c b/equipment.c index 32f77742b..3725b505d 100644 --- a/equipment.c +++ b/equipment.c @@ -23,6 +23,7 @@ void add_cylinder_description(cylinder_type_t *type) return; } if (i < 100) { + // FIXME: leaked on exit tank_info[i].name = strdup(desc); tank_info[i].ml = type->size.mliter; tank_info[i].bar = type->workingpressure.mbar / 1000; @@ -43,6 +44,7 @@ void add_weightsystem_description(weightsystem_t *weightsystem) } } if (i < 100) { + // FIXME: leaked on exit ws_info[i].name = strdup(desc); ws_info[i].grams = weightsystem->weight.grams; } |