Fix call command
memory leak
The module command arguments were never freed.
This commit is contained in:
@ -873,6 +873,7 @@ HttpResponse cb_modulecmd(const HttpRequest& request)
|
|||||||
if (args)
|
if (args)
|
||||||
{
|
{
|
||||||
rval = modulecmd_call_command(cmd, args, &output);
|
rval = modulecmd_call_command(cmd, args, &output);
|
||||||
|
modulecmd_arg_free(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < n_opts; i++)
|
for (int i = 0; i < n_opts; i++)
|
||||||
|
Reference in New Issue
Block a user