Re: [libvirt] [PATCH 2/5] rpc: simplify calling convention of virNetServerClientDispatchFunc

2018-03-07 Thread John Ferlan
On 03/06/2018 12:58 PM, Daniel P. Berrangé wrote: > Currently virNetServerClientDispatchFunc implementations are only > responsible for free'ing the "msg" parameter upon success. Simplify the > calling convention by making it their unconditional responsibility to > free the "msg", and close the c

Re: [libvirt] [PATCH 2/5] rpc: simplify calling convention of virNetServerClientDispatchFunc

2018-03-06 Thread Jim Fehlig
On 03/06/2018 10:58 AM, Daniel P. Berrangé wrote: Currently virNetServerClientDispatchFunc implementations are only responsible for free'ing the "msg" parameter upon success. Simplify the calling convention by making it their unconditional responsibility to free the "msg", and close the client if

[libvirt] [PATCH 2/5] rpc: simplify calling convention of virNetServerClientDispatchFunc

2018-03-06 Thread Daniel P . Berrangé
Currently virNetServerClientDispatchFunc implementations are only responsible for free'ing the "msg" parameter upon success. Simplify the calling convention by making it their unconditional responsibility to free the "msg", and close the client if desired. Signed-off-by: Daniel P. Berrangé --- s