FS-11450 [mod_conference] Fix for memory leak when conference json list api command is executed
This commit is contained in:
parent
50032af938
commit
6ea0e815a7
|
@ -4085,6 +4085,8 @@ switch_status_t conference_api_sub_json_list(conference_obj_t *conference, switc
|
||||||
stream->write_function(stream, "%s", ebuf);
|
stream->write_function(stream, "%s", ebuf);
|
||||||
free(ebuf);
|
free(ebuf);
|
||||||
|
|
||||||
|
cJSON_Delete(conferences);
|
||||||
|
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue