Fix memory leak in service parameter output
When the service parameters were converted into JSON, an array was created that was not used.
This commit is contained in:
parent
3ade3f68a7
commit
bb1bfcb52b
@ -2460,7 +2460,6 @@ static const char* service_state_to_string(int state)
|
||||
json_t* service_parameters_to_json(const SERVICE* service)
|
||||
{
|
||||
json_t* rval = json_object();
|
||||
json_t* arr = json_array();
|
||||
|
||||
string options;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user