diff options
author | Florin Coras <fcoras@cisco.com> | 2019-12-05 20:10:53 -0800 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-12 07:43:14 +0000 |
commit | 3d3c4f0491be05119d936188c6a6f84de3203fe4 (patch) | |
tree | f507983a59350614f7ae62f5c0960c26b83361b5 /src | |
parent | 889ea0f54c42e3a592625f2bfd480bf3c13ab1bc (diff) |
api: fix free socket process args
Type: fix
Change-Id: I910be067de6ed65790d25cc95a3d8b5b66680567
Signed-off-by: Florin Coras <fcoras@cisco.com>
(cherry picked from commit b0384230d95d9de5e5fec0a311b8644c99f85c31)
Diffstat (limited to 'src')
-rw-r--r-- | src/vlibmemory/vlib_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |