virfile: Resolve Coverity RESOURCE_LEAK
virfile: Resolve Coverity RESOURCE_LEAK

With the virGetGroupList() change in place - Coverity further complains
that if we fail to virFork(), the groups will be leaked - which aha seems
to be the case. Adjust the logic to save off the -errno, free the groups,
and then return the value we saved

Signed-off-by: John Ferlan <87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com>

fabianfreyer/libvirt,shugaoye/libvirt,olafhering/libvirt,zippy2/libvirt,crobinso/libvirt,eskultety/libvirt,andreabolognani/libvirt,crobinso/libvirt,olafhering/libvirt,datto/libvirt,zippy2/libvirt,datto/libvirt,elmarco/libvirt,libvirt/libvirt,rlaager/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,shugaoye/libvirt,nertpinx/libvirt,agx/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,crobinso/libvirt,rlaager/libvirt,andreabolognani/libvirt,shugaoye/libvirt,taget/libvirt,jardasgit/libvirt,taget/libvirt,datto/libvirt,taget/libvirt,rlaager/libvirt,fabianfreyer/libvirt,eskultety/libvirt,agx/libvirt,eskultety/libvirt,elmarco/libvirt,VenkatDatta/libvirt,libvirt/libvirt,olafhering/libvirt,shugaoye/libvirt,jfehlig/libvirt,libvirt/libvirt,nertpinx/libvirt,libvirt/libvirt,elmarco/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,agx/libvirt,crobinso/libvirt,nertpinx/libvirt,zippy2/libvirt,agx/libvirt,rlaager/libvirt,eskultety/libvirt,elmarco/libvirt,taget/libvirt,andreabolognani/libvirt,datto/libvirt,agx/libvirt,jfehlig/libvirt,jardasgit/libvirt,andreabolognani/libvirt,olafhering/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,elmarco/libvirt,fabianfreyer/libvirt,rlaager/libvirt,taget/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,zippy2/libvirt,datto/libvirt,jfehlig/libvirt,eskultety/libvirt