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:
Markus Mäkelä 2018-01-22 13:30:34 +02:00
parent 3ade3f68a7
commit bb1bfcb52b

View File

@ -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;