From 508f930660012a236e5662ecdf59e5c86040a872 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Thu, 18 Dec 2014 08:47:58 +0100 Subject: Document found leaks Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- equipment.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.3-70-g09d2