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:
parent
6ec3748533
commit
f6ec52dddc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user