virJSONValueObjectInsert: Clear @value on successful insertion
virJSONValueObjectInsert: Clear @value on successful insertion

The function takes ownership of @value on success so the proper
semantics will be to clear out the @value pointer. Convert @value to a
double pointer to do this.

Signed-off-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
Reviewed-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

jfehlig/libvirt,nertpinx/libvirt,jfehlig/libvirt,nertpinx/libvirt,nertpinx/libvirt,libvirt/libvirt,libvirt/libvirt,libvirt/libvirt,jfehlig/libvirt,olafhering/libvirt,zippy2/libvirt,olafhering/libvirt,olafhering/libvirt,olafhering/libvirt,libvirt/libvirt,crobinso/libvirt,zippy2/libvirt,jfehlig/libvirt,crobinso/libvirt,nertpinx/libvirt,zippy2/libvirt,zippy2/libvirt,crobinso/libvirt,nertpinx/libvirt,crobinso/libvirt