summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2017-02-06 15:55:34 +0100
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2017-02-06 15:55:34 +0100
commit4b11f952c521315883f64571e1790389e8d20f64 (patch)
treeea2bd4424d7fef020bb19cdf5c96e0eca9916881
parent49fb847ff3dc8b7de91eb3a54524e60b145f9bf4 (diff)
downloadouroboros-4b11f952c521315883f64571e1790389e8d20f64.tar.gz
ouroboros-4b11f952c521315883f64571e1790389e8d20f64.zip
lib: Fix memleak in cacep
-rw-r--r--src/lib/cacep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/cacep.c b/src/lib/cacep.c
index 22c6137f..00557444 100644
--- a/src/lib/cacep.c
+++ b/src/lib/cacep.c
@@ -65,6 +65,7 @@ int cacep_destroy(struct cacep * instance)
if (instance == NULL)
return 0;
+ free(instance->name);
free(instance);
return 0;