atrstm

Load and structure a combustion gas mixture
git clone git://git.meso-star.fr/atrstm.git
Log | Files | Refs | README | LICENSE

commit 4ed1537049f52255225cd47c50215fe3eae6a69d
parent 216beed6a6d88faf849cf681e36efeea985db6b3
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 18 Oct 2022 16:35:48 +0200

Fix a possible memory leak

Diffstat:
Msrc/atrstm_partition.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/atrstm_partition.c b/src/atrstm_partition.c @@ -88,6 +88,7 @@ pool_release(struct pool* pool) LIST_FOR_EACH_SAFE(node, tmp_node, &pool->parts_full) { struct part* part = CONTAINER_OF(node, struct part, node); list_del(node); + part_release(part); MEM_RM(pool->allocator, part); } ASSERT(is_list_empty(&pool->parts_full));