Coverity: Fix the forward_null error in Python binding codesv0.9.12v0.9.12-rc2v0.9.12.1v0.9.12.2
commit2f04eb3b4791df014b6ce7f2671318a52b306588
authorOsier Yang <jyang@redhat.com>
Wed, 2 May 2012 15:05:59 +0000 (2 23:05 +0800)
committerOsier Yang <jyang@redhat.com>
Fri, 4 May 2012 02:23:57 +0000 (4 10:23 +0800)
treecfddf85655e590d622a387198faa985647f123e4
parentbccf20d8c5036501f4e1d28cf87f08687b9f635a
Coverity: Fix the forward_null error in Python binding codes

Related coverity log:

Error: FORWARD_NULL:
/builddir/build/BUILD/libvirt-0.9.10/python/libvirt-override.c:355:
assign_zero: Assigning: "params" = 0.
/builddir/build/BUILD/libvirt-0.9.10/python/libvirt-override.c:458:
var_deref_model: Passing null variable "params" to function
"getPyVirTypedParameter", which dereferences it. (The dereference is assumed on
the basis of the 'nonnull' parameter attribute.)
libvirt-override.c