Fix memory leak in reductions