]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Ensure to zero out the virDomainBlockJobInfo arg
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 2 Dec 2013 16:56:16 +0000 (16:56 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 2 Dec 2013 17:34:57 +0000 (17:34 +0000)
commit4cac241a7b120c95221237a3961fc758f9b7a72e
treed23d92bab23ab54c833f79d5983518e4b8b7160c
parentc268af2e9acb578784987f00c32a06e39ae8da85
Ensure to zero out the virDomainBlockJobInfo arg

The virDomainGetBlockJobInfo method did not zero out the
virDomainBlockJobInfo pointer arg, so when block jobs were
not active it would return garbage for the bandwidth/cur/end
fields.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/libvirt.c