diff options
author | dimitri staessens <[email protected]> | 2017-03-31 14:34:03 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-03-31 14:34:18 +0200 |
commit | 9f33d70fc92d2f0f7b6058765049bfcb41e2cca9 (patch) | |
tree | 0606be1b6746e8b4285c581158d0fe4615493b5a /src/lib/cdap.c | |
parent | 802088cad493c41bf6c0089e9e643edc0cd997bc (diff) | |
download | ouroboros-9f33d70fc92d2f0f7b6058765049bfcb41e2cca9.tar.gz ouroboros-9f33d70fc92d2f0f7b6058765049bfcb41e2cca9.zip |
lib: Cancel outstanding CDAP requests on destroy
Diffstat (limited to 'src/lib/cdap.c')
-rw-r--r-- | src/lib/cdap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/cdap.c b/src/lib/cdap.c index 38806c23..b04dcf51 100644 --- a/src/lib/cdap.c +++ b/src/lib/cdap.c @@ -250,6 +250,7 @@ static void cdap_sent_destroy(struct cdap * instance) list_for_each_safe(p, h, &instance->sent) { struct cdap_req * req = list_entry(p, struct cdap_req, next); list_del(&req->next); + cdap_req_cancel(req); cdap_req_destroy(req); } |