pci: avoid memory leak on error
pci: avoid memory leak on error

Detected by Coverity.  Some, but not all, error paths were clean;
but they were repetitive so I refactored them.

* src/util/pci.c (pciGetDevice): Plug leak.

olafhering/libvirt,jeckersb/libvirt,jfehlig/libvirt,trainstack/libvirt,rmarwaha/libvirt,wiedi/libvirt,agx/libvirt,rlaager/libvirt,rmarwaha/libvirt1,leilihh/libvirt,elmarco/libvirt,jardasgit/libvirt,crobinso/libvirt,trainstack/libvirt,kantai/libvirt-vfork,rmarwaha/libvirt1,warewolf/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,danwent/libvirt-ovs,eskultety/libvirt,warewolf/libvirt,novel/fbsd-libvirt,jfehlig/libvirt,iam-TJ/libvirt,leilihh/libvirt,libvirt/libvirt,nertpinx/libvirt,andreabolognani/libvirt,shugaoye/libvirt,zippy2/libvirt,zhlcindy/libvirt-1.1.4-maintain,emaste/libvirt,warewolf/libvirt,jfehlig/libvirt,jeckersb/libvirt,zippy2/libvirt,jardasgit/libvirt,jeckersb/libvirt,rlaager/libvirt,usc-isi/libvirt,cbosdo/libvirt,rlaager/libvirt,andreabolognani/libvirt,jfehlig/libvirt,datto/libvirt,jeckersb/libvirt,agx/libvirt,fabianfreyer/libvirt,novel/fbsd-libvirt,warewolf/libvirt,iam-TJ/libvirt,datto/libvirt,iam-TJ/libvirt,rmarwaha/libvirt,dumbbell/libvirt,rmarwaha/libvirt1,leilihh/libvirt,VenkatDatta/libvirt,kantai/libvirt-vfork,shugaoye/libvirt,kantai/libvirt-vfork,taget/libvirt,foomango/libvirt,zhlcindy/libvirt-1.1.4-maintain,zippy2/libvirt,usc-isi/libvirt,emaste/libvirt,zhlcindy/libvirt-1.1.4-maintain,dumbbell/libvirt,foomango/libvirt,siboulet/libvirt-openvz,rmarwaha/libvirt1,rlaager/libvirt,emaste/libvirt,fabianfreyer/libvirt,emaste/libvirt,soulxu/libvirt-xuhj,danwent/libvirt-ovs,VenkatDatta/libvirt,iam-TJ/libvirt,dumbbell/libvirt,trainstack/libvirt,usc-isi/libvirt,wiedi/libvirt,wiedi/libvirt,taget/libvirt,taget/libvirt,wiedi/libvirt,zippy2/libvirt,novel/fbsd-libvirt,jardasgit/libvirt,trainstack/libvirt,libvirt/libvirt,jeckersb/libvirt,siboulet/libvirt-openvz,emaste/libvirt,eskultety/libvirt,taget/libvirt,dumbbell/libvirt,iam-TJ/libvirt,novel/fbsd-libvirt,shugaoye/libvirt,danwent/libvirt-ovs,andreabolognani/libvirt,jeckersb/libvirt,olafhering/libvirt,usc-isi/libvirt,usc-isi/libvirt,novel/fbsd-libvirt,soulxu/libvirt-xuhj,foomango/libvirt,crobinso/libvirt,shugaoye/libvirt,agx/libvirt,taget/libvirt,rmarwaha/libvirt,eskultety/libvirt,elmarco/libvirt,foomango/libvirt,soulxu/libvirt-xuhj,jardasgit/libvirt,fabianfreyer/libvirt,eskultety/libvirt,danwent/libvirt-ovs,agx/libvirt,leilihh/libvirt,elmarco/libvirt,novel/fbsd-libvirt,nertpinx/libvirt,novel/fbsd-libvirt,foomango/libvirt,wiedi/libvirt,danwent/libvirt-ovs,cbosdo/libvirt,kantai/libvirt-vfork,elmarco/libvirt,VenkatDatta/libvirt,rlaager/libvirt,iam-TJ/libvirt,dumbbell/libvirt,agx/libvirt,datto/libvirt,warewolf/libvirt,bjzhang/libvirt,siboulet/libvirt-openvz,warewolf/libvirt,trainstack/libvirt,crobinso/libvirt,datto/libvirt,dumbbell/libvirt,emaste/libvirt,warewolf/libvirt,cbosdo/libvirt,bjzhang/libvirt,emaste/libvirt,rmarwaha/libvirt,rmarwaha/libvirt,datto/libvirt,libvirt/libvirt,jeckersb/libvirt,kantai/libvirt-vfork,bjzhang/libvirt,eskultety/libvirt,rmarwaha/libvirt1,siboulet/libvirt-openvz,cbosdo/libvirt,fabianfreyer/libvirt,olafhering/libvirt,crobinso/libvirt,rmarwaha/libvirt,rmarwaha/libvirt1,soulxu/libvirt-xuhj,zhlcindy/libvirt-1.1.4-maintain,novel/fbsd-libvirt,wiedi/libvirt,bjzhang/libvirt,zhlcindy/libvirt-1.1.4-maintain,olafhering/libvirt,iam-TJ/libvirt,elmarco/libvirt,leilihh/libvirt,nertpinx/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,trainstack/libvirt,VenkatDatta/libvirt,leilihh/libvirt,soulxu/libvirt-xuhj,bjzhang/libvirt,shugaoye/libvirt,cbosdo/libvirt,andreabolognani/libvirt,siboulet/libvirt-openvz,trainstack/libvirt,wiedi/libvirt,jardasgit/libvirt,libvirt/libvirt,nertpinx/libvirt,novel/fbsd-libvirt