Line 482 is when you freed the buffer. Not sure it's relevant to this issue, but you have a bug in your code.
pgadmin-hackers by date:
Соглашаюсь с условиями обработки персональных данных