fix memory leak in input/input_stream.c # 503

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