summaryrefslogtreecommitdiffstats
path: root/generator.py
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2012-06-11 14:49:03 -0600
committerEric Blake <eblake@redhat.com>2012-06-12 06:43:25 -0600
commit71ae2ce782dd2509e3e0dec9d2b77cc4b84769f2 (patch)
treeacc2abd8af92b9a6d72e39f9502153b0931ac82d /generator.py
parent1049fdb7f83a7813f424a039fc411aa7acdb4c7f (diff)
downloadlibvirt-python-split-71ae2ce782dd2509e3e0dec9d2b77cc4b84769f2.tar.gz
libvirt-python-split-71ae2ce782dd2509e3e0dec9d2b77cc4b84769f2.tar.xz
libvirt-python-split-71ae2ce782dd2509e3e0dec9d2b77cc4b84769f2.zip
python: fix snapshot listing bugs
Python exceptions are different than libvirt errors, and we had some corner case bugs on OOM situations. * python/libvirt-override.c (libvirt_virDomainSnapshotListNames) (libvirt_virDomainSnapshotListChildrenNames): Use correct error returns, avoid segv on OOM, and avoid memory leaks on error.
Diffstat (limited to 'generator.py')
0 files changed, 0 insertions, 0 deletions