Fix defects detected by static analysis

No match.