diff options
author | Alex Jia <ajia@redhat.com> | 2012-03-21 17:01:22 +0100 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-03-22 20:07:34 +0800 |
commit | 7f39fff4c0ae96e8afa02ad50fa30d325a417c7a (patch) | |
tree | b37115f39c669c709c8701ab24fc58fcdfd0a31e /generator.py | |
parent | 988a7213942b521a8db7aed6233190f401242d8a (diff) | |
download | libvirt-python-v6-7f39fff4c0ae96e8afa02ad50fa30d325a417c7a.tar.gz libvirt-python-v6-7f39fff4c0ae96e8afa02ad50fa30d325a417c7a.tar.xz libvirt-python-v6-7f39fff4c0ae96e8afa02ad50fa30d325a417c7a.zip |
python: Avoid memory leaks on libvirt_virNodeGetMemoryStats
https://bugzilla.redhat.com/show_bug.cgi?id=770944
Detected by valgrind. Leaks are introduced in commit 17c7795.
* python/libvirt-override.c (libvirt_virNodeGetMemoryStats): fix memory leaks
and improve codes return value.
For details, please see the following link:
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=770944
Signed-off-by: Alex Jia <ajia@redhat.com>
(cherry picked from commit 53b45aa494a94854862603f5694d137f928edfdd)
Diffstat (limited to 'generator.py')
0 files changed, 0 insertions, 0 deletions