diff options
author | Ole Troan <ot@cisco.com> | 2019-06-21 16:07:06 +0200 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2019-06-21 16:06:19 +0000 |
commit | 7abd25b3b94e4abfeea30e4e4971ba902c3fbd53 (patch) | |
tree | 79d8f9b4325614fe89a162c2dddc5d09af798ac8 /src/vlib/trace_funcs.h | |
parent | 5c588504218357bd60b79501ccf8721ff65bced3 (diff) |
stats: fix memory leakage when adding / deleting interfaces
This fixes two leaks in registering errors in the stats segment.
- The error name created by vlib_register_errors() was not freed.
- Duplicate error names (when interface readded) was added to the vector.
Change-Id: If5fe371e8059cf6678fc785cbf673707b4f4a655
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vlib/trace_funcs.h')
0 files changed, 0 insertions, 0 deletions