diff options
author | Juraj Sloboda <jsloboda@cisco.com> | 2018-07-27 11:23:14 +0200 |
---|---|---|
committer | Juraj Sloboda <jsloboda@cisco.com> | 2018-07-27 11:33:34 +0200 |
commit | 3c723f38129b83042dc47f7e04d0e4c3e7870885 (patch) | |
tree | 7f3f1aed7bf4a741a13e0c9ad7852345751cf03f /src/vnet | |
parent | c1ebcc4022ee7b12af395191d43aa5d1231de53b (diff) |
Fix memory leak in processing of ICMPv6 RA event (VPP-1360)
Change-Id: I7c3e5e91391b1c9b36e8ea8bacee9a107da1ae96
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/ip/ip_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/ip/ip_api.c b/src/vnet/ip/ip_api.c index bab876cec6b..64d672446f9 100644 --- a/src/vnet/ip/ip_api.c +++ b/src/vnet/ip/ip_api.c @@ -2463,7 +2463,8 @@ wc_arp_process (vlib_main_t * vm, vlib_node_runtime_t * rt, vlib_frame_t * f) vl_api_send_msg (vl_reg, (u8 *) event); } })); - /* *INDENT-ON* */ + /* *INDENT-ON* */ + vec_free (ra_events[i].prefixes); } } vlib_process_put_event_data (vm, event_data); |