From 3d3c4f0491be05119d936188c6a6f84de3203fe4 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Thu, 5 Dec 2019 20:10:53 -0800 Subject: api: fix free socket process args Type: fix Change-Id: I910be067de6ed65790d25cc95a3d8b5b66680567 Signed-off-by: Florin Coras (cherry picked from commit b0384230d95d9de5e5fec0a311b8644c99f85c31) --- src/vlibmemory/vlib_api.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/vlibmemory/vlib_api.c b/src/vlibmemory/vlib_api.c index 925811f7b88..c0066eb0b5c 100644 --- a/src/vlibmemory/vlib_api.c +++ b/src/vlibmemory/vlib_api.c @@ -388,6 +388,7 @@ vl_api_clnt_process (vlib_main_t * vm, vlib_node_runtime_t * node, a = pool_elt_at_index (socket_main.process_args, event_data[i]); vl_socket_process_api_msg (a->clib_file, a->regp, (i8 *) a->data); + a = pool_elt_at_index (socket_main.process_args, event_data[i]); vec_free (a->data); pool_put (socket_main.process_args, a); } -- cgit 1.2.3-korg