stats: memory leak in stat_validate_counter_vector 67/27967/3
authorSteven Luong <sluong@cisco.com>
Fri, 17 Jul 2020 16:09:16 +0000 (09:09 -0700)
committerOle Trøan <otroan@employees.org>
Tue, 21 Jul 2020 06:20:08 +0000 (06:20 +0000)
commite29fb5bf1b9ab87f4213d990377ea2604990135b
tree00471bb25c89e0a8853f95fac2f9ddaf3be8d3a2
parent459d17bb7d051566c587c4f963014fdbbe99ff6a
stats: memory leak in stat_validate_counter_vector

Free the existing vectors prior to losing them.

Type: fix
Ticket: VPPSUPP-94

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Ic15f1fbc7a0c6c348065fc9759ee5d5c43013b91
Signed-off-by: Ole Troan <ot@cisco.com>
src/vpp/stats/stat_segment.c