Re: [libvirt] [PATCH] rpc: Refactor cleanup paths in virNetLibsshAuthenticatePassword

2019-04-09 Thread Ján Tomko
On Tue, Apr 02, 2019 at 05:37:40PM +0200, Peter Krempa wrote: Now that the memory disposal is handled automatically we can simplify the cleanup paths. In this case it's not as simple as sometimes the value of the called function is returned. While at it fix the initialization value of the

[libvirt] [PATCH] rpc: Refactor cleanup paths in virNetLibsshAuthenticatePassword

2019-04-02 Thread Peter Krempa
Now that the memory disposal is handled automatically we can simplify the cleanup paths. In this case it's not as simple as sometimes the value of the called function is returned. While at it fix the initialization value of the returned variable. Signed-off-by: Peter Krempa ---