storage: Resolve resource leaks with cmd processing
storage: Resolve resource leaks with cmd processing

https://bugzilla.redhat.com/show_bug.cgi?id=906299

(cherry picked from commit ede91bde83e66d3f083f113f3fd834e1ef74fd2f)

mithleshvrts/libvirt-0.10.2,mithleshvrts/libvirt-0.10.2,mithleshvrts/libvirt-0.10.2,mithleshvrts/libvirt-0.10.2,mithleshvrts/libvirt-0.10.2