]> git.puffer.fish Git - matthieu/frr.git/commit
lib: move at_close call in vty_stdio to end
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 26 Jan 2017 21:09:37 +0000 (22:09 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 31 Jan 2017 14:28:39 +0000 (15:28 +0100)
commitdd03f8cae1fdb1cd2807ad90998d40ed9ad4029e
tree76746fa476b216b7901782d99557e929b2b52399
parentbff9c3e9d3270a524eee693f4d44cd83f13e9963
lib: move at_close call in vty_stdio to end

Since the at_close call for the stdio vty might exit() the process, move
it to the end of the function, after freeing all memory.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/vty.c