qemu: Fix double free when live-attaching shmem
qemu: Fix double free when live-attaching shmem

Function qemuDomainAttachShmemDevice() steals the device data if the
hotplug was successful, but the condition checked for unsuccessful
execution otherwise.

Signed-off-by: Martin Kletzander <e82f23e74d43760279ebcc505dac4ae70d5627d0@redhat.com>

datto/libvirt,libvirt/libvirt,zippy2/libvirt,fabianfreyer/libvirt,zippy2/libvirt,fabianfreyer/libvirt,eskultety/libvirt,fabianfreyer/libvirt,taget/libvirt,eskultety/libvirt,jfehlig/libvirt,taget/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,eskultety/libvirt,zippy2/libvirt,olafhering/libvirt,nertpinx/libvirt,zippy2/libvirt,datto/libvirt,datto/libvirt,olafhering/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,andreabolognani/libvirt,nertpinx/libvirt,libvirt/libvirt,eskultety/libvirt,crobinso/libvirt,crobinso/libvirt,andreabolognani/libvirt,jardasgit/libvirt,jardasgit/libvirt,andreabolognani/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,taget/libvirt,crobinso/libvirt,nertpinx/libvirt,taget/libvirt,libvirt/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,libvirt/libvirt,olafhering/libvirt,jardasgit/libvirt,andreabolognani/libvirt,datto/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,datto/libvirt,eskultety/libvirt,jardasgit/libvirt,olafhering/libvirt,taget/libvirt,crobinso/libvirt,nertpinx/libvirt