[libvirt] [libvirt-php][PATCH 0/8] Couple of mem leak fixes

Michal Privoznik mprivozn at redhat.com
Thu Oct 1 14:14:41 UTC 2015


So, after I reviewed [1] I realized how big memory leaks we have there...

1: https://www.redhat.com/archives/libvir-list/2015-September/msg01045.html

Since there is nobody to review, I'm pushing this.

Michal Privoznik (8):
  libvirt_network_get_information: Be more tolerant to missing info
  examples: Resolve some warnings
  examples: Rework a bit to resolve some warnings
  Don't free() in RECREATE_STRING_WITH_E
  LONGLONG_INIT: Reformat
  virConnectGetHostname: free returned value
  virDomainGetXMLDesc: Free returned value
  virNodeDeviceGetXMLDesc: Free returned value

 examples/index.php   |  90 +++---
 examples/libvirt.php |  44 +--
 src/libvirt-php.c    | 900 +++++++++++++++++++++++++--------------------------
 3 files changed, 504 insertions(+), 530 deletions(-)

-- 
2.4.9




More information about the libvir-list mailing list