Re: [libvirt] [PATCH 1/5] rpc: push ref acquisition into RPC dispatch function

2018-03-07 Thread John Ferlan
On 03/06/2018 12:58 PM, Daniel P. Berrangé wrote: > There's no reason why the virNetServerClientDispatchRead method needs to > acquire an extra reference on the "client" object. An extra reference is > only needed if the registered dispatch callback is going to keep hold of > the "client" for

Re: [libvirt] [PATCH 1/5] rpc: push ref acquisition into RPC dispatch function

2018-03-06 Thread Jim Fehlig
On 03/06/2018 10:58 AM, Daniel P. Berrangé wrote: There's no reason why the virNetServerClientDispatchRead method needs to acquire an extra reference on the "client" object. An extra reference is only needed if the registered dispatch callback is going to keep hold of the "client" for work in