diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-02-03 20:35:05 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-02-03 20:35:05 +0100 |
commit | 29fe780c782b74f516a47521297848095a8f5ede (patch) | |
tree | 3bfa80bf2983231bb9945d90ea81d18021d622cc /src | |
parent | 28224928bd4706515afc2885d16ca45389fc81ee (diff) | |
download | ouroboros-29fe780c782b74f516a47521297848095a8f5ede.tar.gz ouroboros-29fe780c782b74f516a47521297848095a8f5ede.zip |
irmd: Fix memleak in registry
Diffstat (limited to 'src')
-rw-r--r-- | src/irmd/registry.c | 1 |
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); } } |