[libvirt] [PATCH] storage: handle NULL return from virGetStorageVol

2014-02-12 Thread Michael Chapman
virGetStorageVol can return NULL on out-of-memory. If it does, cleanly abort the volume clone operation. Signed-off-by: Michael Chapman m...@very.puzzling.org --- src/storage/storage_driver.c | 4 1 file changed, 4 insertions(+) diff --git a/src/storage/storage_driver.c

Re: [libvirt] [PATCH] storage: handle NULL return from virGetStorageVol

2014-02-12 Thread Ján Tomko
On 02/12/2014 12:05 PM, Michael Chapman wrote: virGetStorageVol can return NULL on out-of-memory. If it does, cleanly abort the volume clone operation. Signed-off-by: Michael Chapman m...@very.puzzling.org --- src/storage/storage_driver.c | 4 1 file changed, 4 insertions(+) ACK