diff options
author | Alex Jia <ajia@redhat.com> | 2012-03-22 00:25:22 +0800 |
---|---|---|
committer | Alex Jia <ajia@redhat.com> | 2012-03-22 10:19:13 +0800 |
commit | debe58f6f7609abcb330b5ab4f69f7ffab830b08 (patch) | |
tree | dd76c6a2356f4feaacce3053cb764ada2d52e09b /libvirt-qemu-override.c | |
parent | b564c3c00299acb188eb0dec696ea39b51165d8c (diff) | |
download | libvirt-python-split-debe58f6f7609abcb330b5ab4f69f7ffab830b08.tar.gz libvirt-python-split-debe58f6f7609abcb330b5ab4f69f7ffab830b08.tar.xz libvirt-python-split-debe58f6f7609abcb330b5ab4f69f7ffab830b08.zip |
python: Avoid memory leaks on libvirt_virNodeGetCPUStats
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>
Diffstat (limited to 'libvirt-qemu-override.c')
0 files changed, 0 insertions, 0 deletions