virt-alignment-scan: Add checks for when API calls return NULL.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 24 Nov 2011 14:06:31 +0000 (14:06 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 24 Nov 2011 14:06:31 +0000 (14:06 +0000)
commit7b192f5a672197ad67ac23501e420c674aa2f3a9
tree4e0dbc6d79c2b929adce078d6796e1e0ab500313
parentcbd1c45d95c530c8d94103dcc2c521bf5501ef59
virt-alignment-scan: Add checks for when API calls return NULL.

In particular, virt-alignment-scan -a /dev/null would segfault
because of an error returned by parted.
align/scan.c