summaryrefslogtreecommitdiff
path: root/src/irmd/registry.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-02-04 09:12:47 +0000
committerSander Vrijders <[email protected]>2017-02-04 09:12:47 +0000
commite3b1288354349edc53c7c3c9ebd3efe23a7df10d (patch)
tree3a47f2b2db895173a1e3605df3fbdc925b7b127b /src/irmd/registry.c
parentc677d8a88065e6bc8e071f3f03a440e4ed083abb (diff)
parenta30e244407655d16429ef442ac23db43a548bf95 (diff)
downloadouroboros-e3b1288354349edc53c7c3c9ebd3efe23a7df10d.tar.gz
ouroboros-e3b1288354349edc53c7c3c9ebd3efe23a7df10d.zip
Merged in dstaesse/ouroboros/be-wip (pull request #359)
irmd: Fix memleak in registry
Diffstat (limited to 'src/irmd/registry.c')
-rw-r--r--src/irmd/registry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irmd/registry.c b/src/irmd/registry.c
index 35c17069..7e21375e 100644
--- a/src/irmd/registry.c
+++ b/src/irmd/registry.c
@@ -165,6 +165,7 @@ static void reg_entry_del_local_from_dif(struct reg_entry * e,
struct reg_dif * d = list_entry(p, struct reg_dif, next);
if (!strcmp(dif_name, d->dif_name)) {
list_del(&d->next);
+ free(d->dif_name);
free(d);
}
}