thorium: fix memory leak in binomial tree code

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>