Re: [libvirt] fix method delete() in src/main/java/org/libvirt/DomainSnapshot.java

2019-03-15 Thread Daniel P . Berrangé
On Wed, Mar 13, 2019 at 03:13:42PM +0800, 傅姜晨 wrote: > if VDSP is set to null during the method delete(), Object snapshot can't be > freed in method free() in the same class. > > > Showing 1 changed file with 1 addition and 7 deletions. > View file > > 8 src/main/java/org/libvirt/DomainSnaps

[libvirt] fix method delete() in src/main/java/org/libvirt/DomainSnapshot.java

2019-03-13 Thread 傅姜晨
if VDSP is set to null during the method delete(), Object snapshot can't be freed in method free() in the same class. Showing 1 changed file with 1 addition and 7 deletions. View file 8 src/main/java/org/libvirt/DomainSnapshot.java | | @@ -35,13 +35,7 @@ public DomainSnapshot(Connect virConn