Fix net/disk hot-unplug segfault
Fix net/disk hot-unplug segfault

When we hot-unplug the last device, we're currently double-freeing
the device definition.

Reported by Martin Banas here:

  https://bugzilla.redhat.com/523953

* src/qemu_driver.c: fix double free

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