[libvirt] [libvirt-php][PATCH 2/3] Fix some leaks related to get_string_from_xpath
Vasiliy Tolstov
v.tolstov at selfip.ru
Tue Apr 19 14:48:23 UTC 2016
2016-04-19 16:46 GMT+03:00 Michal Privoznik <mprivozn at redhat.com>:
> This function not only did not free return value of
> xmlNodeListGetString() it strdup()-ed its return value. Therefore
> plenty of memory has been lost definitely upon return from this
> function.
I don't think that this function need at all. I'm switching to get
full xml of domain and doing xpath via native php code.
--
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
More information about the libvir-list
mailing list