summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-02 17:24:01 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-06-02 17:24:01 +0000
commit2b4dc78f7f16b4eceb8ea7b94e2c88cc9605a5b5 (patch)
treea121da8157a478eff794773193ae478905d43efc /lib/command.c
parentf0683d22277017e5a93798ce88a06fc7927dc326 (diff)
lib: free varhandler on exit
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index eb163f6189..38d28a1388 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2611,5 +2611,6 @@ cmd_terminate ()
if (host.config)
XFREE (MTYPE_HOST, host.config);
+ list_delete (varhandlers);
qobj_finish ();
}