api: fix free socket process args
Type: fix Change-Id: I910be067de6ed65790d25cc95a3d8b5b66680567 Signed-off-by: Florin Coras <fcoras@cisco.com>
This commit is contained in:

committed by
Florin Coras

parent
7b22df06fc
commit
b0384230d9
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user