From 21ebbeb9a3585683d1688997e541efd104244d8e Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 21 Jun 2018 23:04:04 +0200 Subject: [PATCH] fix leak --- lib/ecoli_node.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ecoli_node.c b/lib/ecoli_node.c index a181835..d936302 100644 --- a/lib/ecoli_node.c +++ b/lib/ecoli_node.c @@ -212,6 +212,7 @@ ec_node_set_config(struct ec_node *node, struct ec_config *config) return 0; fail: + ec_config_free(config); return -1; } -- 2.39.5