diff options
author | Ole Troan <ot@cisco.com> | 2019-06-16 23:26:56 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-06-18 13:55:11 +0000 |
commit | ae945592b299b14b8d293b4c77b7d851a4f8ea11 (patch) | |
tree | 9acf5d2a6fc0d1857e1748eca8d9eb76dd2d2fa4 /src/vppinfra/unformat.c | |
parent | 4d0c663c0a63d3be6789185d6f60a4b4d1e7d207 (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/vppinfra/unformat.c')
0 files changed, 0 insertions, 0 deletions