In case of zbx_module_docker_inspect_exec() failure, just like in case of success, inspect_result's value field needs to be either free()'ed or passed further.
The impact of these memory leaks is likely small, since they happen on failures only and it shouldn't happen often.
In case of
zbx_module_docker_inspect_exec()
failure, just like in case of success,inspect_result
'svalue
field needs to be eitherfree()
'ed or passed further.The impact of these memory leaks is likely small, since they happen on failures only and it shouldn't happen often.