[PyGreSQL] Fw: Patch to fix PyGreSQL 3.7 memory leak
D'Arcy J.M. Cain
darcy at PyGreSQL.org
Sat Feb 4 16:14:26 EST 2006
On Thu, 2 Feb 2006 15:05:27 -0500
"D'Arcy J.M. Cain" <darcy at PyGreSQL.org> wrote:
> The following message was sent to my email. Anyone see a problem
> implementing this?
>
> Begin forwarded message:
>
> While using PyGreSQL 3.7, I found a small memory leak in the C to
> Python conversion for floating point types. I've attached a
> patch below.
I have applied this patch except I didn't bother assigning NULL to the
new variable after freeing it. There is no place that the variable is
used or tested after being freed anyway.
--
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org
More information about the PyGreSQL
mailing list