Commit 53dffb0
committed
xapi_vm_snapshot: do not leak CD VBDs
Because all the snapshot's CD VBDs are cloned in all cases, the reverted
VM's CD VBDs must be destroyed in all cases, add them unconditionally to
the VBDs being destroyed.
Signed-off-by: Pau Ruiz Safont <pau.safont@vates.tech>1 parent 1480fbd commit 53dffb0
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
| 313 | + | |
313 | 314 | | |
314 | 315 | | |
315 | 316 | | |
| |||
0 commit comments