From: Olivier Matz Date: Thu, 21 Jun 2018 21:04:04 +0000 (+0200) Subject: fix leak X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=21ebbeb9a3585683d1688997e541efd104244d8e;p=protos%2Flibecoli.git fix leak --- 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; }