use omapi_protocol_disconnect instead of omapi_connection_disconnect to simplify things a little. free the client connection manager. initialize master_data's refcnt to 1 so the server does not try to free it.
use omapi_protocol_disconnect instead of omapi_connection_disconnect to simplify things a little. free the client connection manager. initialize master_data's refcnt to 1 so the server does not try to free it.