diff options
author | dimitri staessens <[email protected]> | 2016-08-05 15:17:51 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-08-05 15:17:51 +0200 |
commit | cb8ad2d29475a907b4f662aa86c18b45ff5a2c0a (patch) | |
tree | fd5ab2f51824e52db9e518af22c8581c39a72ab6 /src/irmd/registry.c | |
parent | 84d540904e13882e8c299f98e5931a1213b6d47e (diff) | |
download | ouroboros-cb8ad2d29475a907b4f662aa86c18b45ff5a2c0a.tar.gz ouroboros-cb8ad2d29475a907b4f662aa86c18b45ff5a2c0a.zip |
irmd: registry: Fix double free
The req_ae_name is freed when the unpacked message is cleaned up.
Diffstat (limited to 'src/irmd/registry.c')
-rw-r--r-- | src/irmd/registry.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/irmd/registry.c b/src/irmd/registry.c index fc7213ab..7745efaa 100644 --- a/src/irmd/registry.c +++ b/src/irmd/registry.c @@ -253,9 +253,6 @@ static void reg_entry_destroy(struct reg_entry * e) if (e->name != NULL) free(e->name); - if (e->req_ae_name != NULL) - free(e->req_ae_name); - list_for_each_safe(pos, n, &e->reg_apis) { struct reg_api * i = list_entry(pos, struct reg_api, next); reg_api_destroy(i); |