Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd_terminate() is failing to release all memory allocated by the CLI code #110

Closed
rwestphal opened this issue Jan 24, 2017 · 3 comments
Closed

Comments

@rwestphal
Copy link
Member

This is not exactly a memory leak but releasing all memory explicitly on exit is always a good idea.

root@ubuntu:/# zebra -f /etc/frr/zebra.conf 
^Czebra: showing active allocations in memory group libzebra
zebra: memstats:  Vector                        :   4350 *         16
zebra: memstats:  Vector index                  :   4350 * (variably sized)
zebra: memstats:  Graph Node                    :   2175 *         32
zebra: memstats:  Command Tokens                :     21 * (variably sized)
zebra: memstats:  Command desc                  : 18446744073709547757 * (variably sized)
zebra: memstats:  Temporary memory              :   3618 * (variably sized)
@eqvinox
Copy link
Contributor

eqvinox commented Jan 25, 2017

have a branch with a working uninstall_element on my laptop, that should fix a lot of this

@eqvinox
Copy link
Contributor

eqvinox commented Jan 31, 2017

should be fixed by #139

@eqvinox
Copy link
Contributor

eqvinox commented Feb 1, 2017

#139 merged, closing (zebra did not leak any CLI-related memory in my tests)

@eqvinox eqvinox closed this as completed Feb 1, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants