Fixed memory leak in hitfinder1