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 afc2e401cd9..05652fa2244 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);
}