John Ferlan 70e9114e7c admin: Clean up error path in adminServerListClients
Coverity noted that in adminServerListClients if virNetServerGetClients
returns a -1 into ret, then the call virObjectListFreeCount in cleanup
will not be very happy.

Adjust the code to skip the cleanup label and just return -1 if
virNetServerGetClients fails.

Signed-off-by: John Ferlan <jferlan@redhat.com>
2016-05-09 19:33:56 -04:00
..
2016-05-04 13:20:23 -06:00
2016-03-01 14:18:16 +00:00
2016-04-25 15:40:44 +02:00
2013-04-19 14:31:16 -06:00