diff --git a/src/cmd/cmd.c b/src/cmd/cmd.c index f09063fc2e..41ae78cdd3 100644 --- a/src/cmd/cmd.c +++ b/src/cmd/cmd.c @@ -1087,6 +1087,7 @@ cmd_Parse(int argc, char **argv, struct cmd_syndesc **outsyntax) out: if (code && ts != NULL) ResetSyntax(ts); + free(param); return code; }