1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

bug #4146: Fix bug when the target is already in use

This commit is contained in:
Ruben S. Montero 2015-11-13 17:14:32 +01:00
parent 6ec3748533
commit f6ec52dddc

View File

@ -2221,7 +2221,7 @@ VectorAttribute * VirtualMachine::set_up_attach_disk(
imagem->release_image(vm_id, image_id, false);
delete new_disk;
delete snap;
delete *snap;
*snap = 0;
image_id = -1;