diff options
author | Alex Jia <ajia@redhat.com> | 2012-03-22 09:54:03 +0100 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-03-22 20:15:00 +0800 |
commit | f14ce3e4bdae296653d3ebc03ba65f35d3120676 (patch) | |
tree | a8714e554e143f3e1e3afabf760f13822c655cfb /generator.py | |
parent | 7f39fff4c0ae96e8afa02ad50fa30d325a417c7a (diff) | |
download | libvirt-python-v6-f14ce3e4bdae296653d3ebc03ba65f35d3120676.tar.gz libvirt-python-v6-f14ce3e4bdae296653d3ebc03ba65f35d3120676.tar.xz libvirt-python-v6-f14ce3e4bdae296653d3ebc03ba65f35d3120676.zip |
python: Avoid memory leaks on libvirt_virNodeGetCPUStats
https://bugzilla.redhat.com/show_bug.cgi?id=770943
Detected by valgrind. Leaks are introduced in commit 4955602.
* python/libvirt-override.c (libvirt_virNodeGetCPUStats): fix memory leaks
and improve codes return value.
For details, please see the following link:
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=770943
Signed-off-by: Alex Jia <ajia@redhat.com>
(cherry picked from commit 558ebc256dc8179413b1f35d91cd5167e41633cb)
Diffstat (limited to 'generator.py')
0 files changed, 0 insertions, 0 deletions