[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [libvirt-java] [PATCH 00/10] assorted fixes



This fixes a few memleaks and other errors.

Note, that the memleak patches depend on the error refactoring
patches I posted to this list[1]

[1] https://www.redhat.com/archives/libvir-list/2014-January/msg00415.html

Claudio Bley (10):
  Implement equals and hashCode methods for Connect and Domain
  Fix warnings using raw types
  Fix warnings about accessing static methods
  Remove unused fields of Error class
  Fix Domain.getSchedulerParameters / getSchedulerType
  Fix memleak in Domain.snapshotListNames
  Fix memleak in StoragePool.listVolumes
  Fix memleak in DomainSnapshot.getXMLDesc
  Fix memleak in StorageVol.getPath
  Fix memleak in StorageVol.getXMLDesc

 src/main/java/org/libvirt/Connect.java             |  35 +++++++
 src/main/java/org/libvirt/Domain.java              | 103 +++++++++++++++------
 src/main/java/org/libvirt/DomainSnapshot.java      |  10 +-
 src/main/java/org/libvirt/Error.java               |  12 +--
 src/main/java/org/libvirt/StoragePool.java         |  13 ++-
 src/main/java/org/libvirt/StorageVol.java          |  18 +++-
 src/main/java/org/libvirt/jna/Libvirt.java         |  10 +-
 src/main/java/org/libvirt/jna/virConnectAuth.java  |   4 +-
 .../java/org/libvirt/jna/virConnectCredential.java |   4 +-
 .../java/org/libvirt/jna/virDomainBlockInfo.java   |   4 +-
 .../java/org/libvirt/jna/virDomainBlockStats.java  |   4 +-
 src/main/java/org/libvirt/jna/virDomainInfo.java   |   4 +-
 .../org/libvirt/jna/virDomainInterfaceStats.java   |   4 +-
 .../java/org/libvirt/jna/virDomainJobInfo.java     |   4 +-
 .../java/org/libvirt/jna/virDomainMemoryStats.java |   4 +-
 src/main/java/org/libvirt/jna/virError.java        |   4 +-
 src/main/java/org/libvirt/jna/virNodeInfo.java     |   4 +-
 .../java/org/libvirt/jna/virSchedParameter.java    |   4 +-
 .../java/org/libvirt/jna/virStoragePoolInfo.java   |   4 +-
 .../java/org/libvirt/jna/virStorageVolInfo.java    |   4 +-
 src/main/java/org/libvirt/jna/virVcpuInfo.java     |   4 +-
 src/test/java/org/libvirt/TestJavaBindings.java    |   4 +
 22 files changed, 187 insertions(+), 74 deletions(-)

-- 
1.8.5.2.msysgit.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]