Commit f9a802fa authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Revert "param: Plug leak spotted by lsan"

This reverts commit 82be6f46.
parent 82be6f46
......@@ -264,7 +264,6 @@ mcf_param_show(struct cli *cli, const char * const *av, void *priv)
if (show != NULL) {
VCLI_SetResult(cli, CLIS_TOOMANY);
VCLI_Out(cli, "Too many parameters");
VSB_destroy(&vsb);
return;
}
show = av[n];
......@@ -389,7 +388,6 @@ mcf_param_show_json(struct cli *cli, const char * const *av, void *priv)
if (show != NULL) {
VCLI_SetResult(cli, CLIS_TOOMANY);
VCLI_Out(cli, "Too many parameters");
VSB_destroy(&vsb);
return;
}
show = av[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment