From 91b0c782525151885d304a49f78e03a0eed26ea5 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Fri, 3 Mar 2017 16:01:36 +0100 Subject: lib: Fix typo in cdap --- src/lib/cdap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/cdap.c b/src/lib/cdap.c index 86554dd2..32169c1b 100644 --- a/src/lib/cdap.c +++ b/src/lib/cdap.c @@ -297,7 +297,7 @@ static void * sdu_reader(void * o) cdap__free_unpacked(msg, NULL); continue; } - memcpy(data.data, msg->value.data Iata.len); + memcpy(data.data, msg->value.data, data.len); } else { data.len = 0; data.data = NULL; @@ -606,12 +606,12 @@ cdap_key_t * cdap_request_send(struct cdap * instance, struct cdap_req * r = cdap_sent_get_by_key(instance, *(--key)); - release_invoke_id(instance, iid); cdap_sent_del(instance, r); release_invoke_id(instance, key_to_invoke_id(r->key)); cdap_req_destroy(r); } + release_invoke_id(instance, iid); free(keys); return NULL; } -- cgit v1.2.3