]> xenbits.xensource.com Git - libvirt.git/commit
virsh-volume: Add missing check when calling virStreamNew
authorHongwei Bi <hwbi2008@gmail.com>
Sun, 29 Sep 2013 09:24:11 +0000 (17:24 +0800)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 30 Sep 2013 13:00:07 +0000 (15:00 +0200)
commit0c500a4f2e3b288afbbcad299aa19dbe5b51add7
treebc5fb702090322dd1a47273e8e97b1fff54f7777
parent7db19ff9ab1bdbed6b7b08e6c579ba92d0f405b4
virsh-volume: Add missing check when calling virStreamNew

Check return value of virStreamNew when called by cmdVolUpload and
cmdVolDownload.
tools/virsh-volume.c