diff options
author | dimitri staessens <[email protected]> | 2017-02-21 10:56:35 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-02-21 10:56:35 +0000 |
commit | 91091367210ee204c4082a0da05eea3336674f19 (patch) | |
tree | cd0facb94108552b0b9e75619af4e42d77be1a17 /src/ipcpd/normal/cdap_flow.c | |
parent | bf27d8fec3c8051f0518420b4b0ef2957147a887 (diff) | |
parent | adc6766221327f99ab484d66f6f92050ec9e62d7 (diff) | |
download | ouroboros-91091367210ee204c4082a0da05eea3336674f19.tar.gz ouroboros-91091367210ee204c4082a0da05eea3336674f19.zip |
Merged in dstaesse/ouroboros/be-cacep (pull request #383)
lib: Exchange protocol info during CACEP
Diffstat (limited to 'src/ipcpd/normal/cdap_flow.c')
-rw-r--r-- | src/ipcpd/normal/cdap_flow.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ipcpd/normal/cdap_flow.c b/src/ipcpd/normal/cdap_flow.c index 2895af0d..a94627c2 100644 --- a/src/ipcpd/normal/cdap_flow.c +++ b/src/ipcpd/normal/cdap_flow.c @@ -37,12 +37,9 @@ static void cdap_flow_destroy(struct cdap_flow * flow) if (flow->ci != NULL) cdap_destroy(flow->ci); - if (flow->info != NULL) { - if (flow->info->name != NULL) - free(flow->info->name); - if (flow->info->data != NULL) - free(flow->info->data); + cacep_info_fini(flow->info); + free(flow->info); } free(flow); |