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 returned variable.

Signed-off-by: Peter Krempa <[email protected]>
---
src/rpc/virnetlibsshsession.c | 33 ++++++++++++---------------------
1 file changed, 12 insertions(+), 21 deletions(-)


Reviewed-by: Ján Tomko <[email protected]>

Jano

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to