Fix LB memory leak and remove useless code

No match.