]> xenbits.xensource.com Git - libvirt.git/commit
python: Initialize new_params in virDomainSetSchedulerParameters
authorFederico Simoncelli <fsimonce@redhat.com>
Tue, 11 Sep 2012 14:41:49 +0000 (10:41 -0400)
committerEric Blake <eblake@redhat.com>
Tue, 11 Sep 2012 21:19:30 +0000 (15:19 -0600)
commit984a73c0b3c7e724363148f39f44739fe98386b2
tree83ac1279d18137f0a5d565255ca4d4028856e4fb
parent0b2c40d455ee5863ce4fbafb691500c22daca373
python: Initialize new_params in virDomainSetSchedulerParameters

The new_params variable must be initialized in case the
virDomainGetSchedulerParameters call fails and we hit the cleanup
section before actually allocating the new parameters.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
python/libvirt-override.c