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