Fix memory leak for b-tagging SFs.