Hi.
Per Coverity.
The function *read_controlfile* is responsible for updating old pg_controlversions.Coverity complains that the struct ControlFileData buffer is leaked.
I think that is right.
Trivial patch attached.
best regards,Ranier Vilela