load_blocks: handle block allocation failure
commit434f3db421504da273facfd9f5a65cf9edd1956c
authorPetr Tesarik <petr@tesarici.cz>
Fri, 2 Nov 2012 19:21:58 +0000 (2 20:21 +0100)
committerPetr Tesarik <petr@tesarici.cz>
Fri, 2 Nov 2012 19:21:58 +0000 (2 20:21 +0100)
tree9de77f4382801d581cf982f5d9781efe2038cd77
parent86b5512829655ea7d1f6faac9aabd06e90717e24
load_blocks: handle block allocation failure

If a new block cannot be allocated, loading should fail, rather than
segfault. ;-)
libhed/file.c