diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2020-11-30 18:50:51 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2020-11-30 18:55:40 +0300 |
| commit | 6df43392d8703df6e92b7ae6e96373e6c3fc5083 (patch) | |
| tree | 24694e9cbb47dcc06281f7da2b55b69f98380a74 /ospf6d/ospf6_interface.c | |
| parent | 40ab41115dd415cc42e311a96d66bb83ce4f1150 (diff) | |
vtysh: fix incorrect memory statistics
As code comment states, 1 count of MTYPE_COMPLETION is leaked for each
autocompleted token. Let's manually decrement the counter before passing
the pointer to readline.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'ospf6d/ospf6_interface.c')
0 files changed, 0 insertions, 0 deletions
