]> git.droids-corp.org - protos/libecoli.git/commitdiff
fix leak
authorOlivier Matz <zer0@droids-corp.org>
Thu, 21 Jun 2018 21:04:04 +0000 (23:04 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Thu, 21 Jun 2018 21:04:04 +0000 (23:04 +0200)
lib/ecoli_node.c

index a181835d0e43adec38ccabbf04a71b28c76aecda..d936302a2893d823bd9d00745cdfa74187d4d940 100644 (file)
@@ -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;
 }