]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: handle NULL return from virGetStorageVol
authorMichael Chapman <mike@very.puzzling.org>
Wed, 12 Feb 2014 11:05:51 +0000 (22:05 +1100)
committerJán Tomko <jtomko@redhat.com>
Wed, 12 Feb 2014 14:18:43 +0000 (15:18 +0100)
commit74cf8202d2e3747485c93a6a212b12d6cfde058f
tree76b7e59f64098cfa6794733ca51eee0fb8fe14ec
parent7236a473f08cac1b91da078e19923a49389ac47e
storage: handle NULL return from virGetStorageVol

virGetStorageVol can return NULL on out-of-memory. If it does, cleanly
abort the volume clone operation.

Signed-off-by: Michael Chapman <mike@very.puzzling.org>
src/storage/storage_driver.c