Le vendredi 22 avril 2005 à 02:07 -0700, Kevin Brown a écrit :
> Okay, I've tracked this one down. The offending line is 1547, which
> reads:
>
> currph->quoted = currph->bind_type->quote(currph->value,
> currph->valuelen, &currph->quotedlen);
>
> This is never freed prior to re-assignment.
Raphael Hertzog wrote:
> Le vendredi 22 avril 2005 ? 02:07 -0700, Kevin Brown a ?crit :
> > Okay, I've tracked this one down. The offending line is 1547, which
> > reads:
> >
> > currph->quoted = currph->bind_type->quote(currph->value,
> > currph->valuelen, &currph->quotedlen);
> >
> > This
Okay, I've tracked this one down. The offending line is 1547, which
reads:
currph->quoted = currph->bind_type->quote(currph->value, currph->valuelen,
&currph->quotedlen);
This is never freed prior to re-assignment. The fix is to add:
if (currph->quoted) Safefree(currph->quoted);
rig
Package: libdbd-pg-perl
Version: 1.41-1
Severity: important
libdbd-pg-perl leaks memory when using the execute() statement handle
method. Attached is a program that clearly illustrates the problem.
Simply run it (subsitute whatever you need in the connect string) and,
using 'top', watch as it ea
4 matches
Mail list logo