summaryrefslogtreecommitdiff
path: root/src/nsmd/main.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-10-27 17:57:16 +0200
committerdimitri staessens <[email protected]>2016-10-27 17:57:16 +0200
commitff7e5c12c9d50fb2ba79d045e99a7ede602ed6f3 (patch)
treecd630cd207a83794648bcc3f86441dc3a3c81607 /src/nsmd/main.c
parent52b411b0388cecfeff36a4098305453b4aa239da (diff)
downloadouroboros-ff7e5c12c9d50fb2ba79d045e99a7ede602ed6f3.tar.gz
ouroboros-ff7e5c12c9d50fb2ba79d045e99a7ede602ed6f3.zip
lib: Clean up flow if alloc_res fails
If alloc_res fails all resources will be cleaned, except for the assigned flow_descriptor, which must be released with a dealloc call. Calling dealloc after a failed flow_alloc will not try to destroy the already cleaned up flow in the IRMd and IPCPs. Also fixes some memleaks in the oping client.
Diffstat (limited to 'src/nsmd/main.c')
0 files changed, 0 insertions, 0 deletions