summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index e8ba637623..0b0614b806 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2089,7 +2089,7 @@ cmd_describe_command_real (vector vline, struct vty *vty, int *status)
unsigned int index;
int ret;
enum match_type match;
- char *command;
+ char *command = NULL;
vector matches = NULL;
vector match_vector;
uint32_t command_found = 0;
@@ -4436,4 +4436,6 @@ cmd_terminate ()
XFREE (MTYPE_HOST, host.motdfile);
if (host.config)
XFREE (MTYPE_HOST, host.config);
+
+ qobj_finish ();
}