diff options
author | dimitri staessens <[email protected]> | 2016-10-27 17:57:16 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-10-27 17:57:16 +0200 |
commit | ff7e5c12c9d50fb2ba79d045e99a7ede602ed6f3 (patch) | |
tree | cd630cd207a83794648bcc3f86441dc3a3c81607 /src/irmd/tests/CMakeLists.txt | |
parent | 52b411b0388cecfeff36a4098305453b4aa239da (diff) | |
download | ouroboros-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/irmd/tests/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions