Fixed results vector not being freed