fix memory leak in block

Link: https://github.com/GeneAssembly/biosal/issues/226
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>