Fix some memory leaks in ecpg.addons - Mailing list pgsql-hackers

From Tristan Partin
Subject Fix some memory leaks in ecpg.addons
Date
Msg-id CWTLB2WWVJJ2.2YV6ERNOL1WVF@neon.tech
Whole thread Raw
Responses Re: Fix some memory leaks in ecpg.addons
List pgsql-hackers
clang and gcc both now support -fsanitize=address,undefined. These are
really useful to me personally when trying to debug issues.
Unfortunately ecpg code has a ton of memory leaks, which makes builds
really painful. It would be great to fix all of them, but I don't have
the patience to try to read flex/bison code. Here are two memory leak
fixes in any case.

--
Tristan Partin
Neon (https://neon.tech)

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Add PQsendSyncMessage() to libpq
Next
From: Tom Lane
Date:
Subject: Re: Fix some memory leaks in ecpg.addons