summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-30 10:08:05 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-03-30 10:08:05 +0200
commit2ea9647c275fc376ecb0c8f53a89e4c048d379df (patch)
tree4d660723d0d347af715a18501a06afdcb9c38996 /src/lib
parent0a9c02d4aa581a397d17b96199eca14c8b137371 (diff)
downloadouroboros-2ea9647c275fc376ecb0c8f53a89e4c048d379df.tar.gz
ouroboros-2ea9647c275fc376ecb0c8f53a89e4c048d379df.zip
lib: Fix heap-use-after-free in CDAP
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cdap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cdap.c b/src/lib/cdap.c
index f5e0593d..54a5b262 100644
--- a/src/lib/cdap.c
+++ b/src/lib/cdap.c
@@ -727,8 +727,8 @@ int cdap_reply_wait(struct cdap * instance,
ret = r->response;
- cdap_sent_del(instance, r);
release_id(instance, r->iid);
+ cdap_sent_del(instance, r);
return ret;
}