pg: avoid possible buffer leak

No match.