Memory leak in receivelog.c when receiving stream - Mailing list pgsql-hackers

From Michael Paquier
Subject Memory leak in receivelog.c when receiving stream
Date
Msg-id CAB7nPqQVwvZzeQTp9z7SmaizZ8MXgw9bLOqK--6xa3bTx7RuGA@mail.gmail.com
Whole thread Raw
Responses Re: Memory leak in receivelog.c when receiving stream
List pgsql-hackers
Hi all,

receivelog.c is leaking memory in CopyStreamReceive when receiving COPY data.
The issue has been spotted by coverity. The patch attached fixes the
problem, and contains as well improved comments.
Regards,
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Memory leak in vacuumlo
Next
From: Andreas Karlsson
Date:
Subject: Re: PATCH: Reducing lock strength of trigger and foreign key DDL