Fix defects detected by static analyzer

No match.