]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Handle PyTuple_New's malloc failure.
authorJim Meyering <meyering@redhat.com>
Thu, 17 Jan 2008 22:14:57 +0000 (22:14 +0000)
committerJim Meyering <meyering@redhat.com>
Thu, 17 Jan 2008 22:14:57 +0000 (22:14 +0000)
commit02b98afe293566b27949eefe53fd040dd50f7feb
tree33831c52d54a721cbc7c85334597b097818e97c1
parentec6e9b786523e0604b48da1035c6897e9183d1ef
Handle PyTuple_New's malloc failure.

* python/libvir.c (libvirt_virDomainBlockStats): Handle a NULL
return from PyTuple_New.
(libvirt_virDomainInterfaceStats, libvirt_virGetLastError): Likewise.
(libvirt_virConnGetLastError): Likewise.
python/libvir.c