aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vlibmemory/vlib_api.c1
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);
}