perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: Connection pnotes
Date Sat, 11 Mar 2006 01:19:26 GMT

> What I mean is that you are leaking a HV. Every connection, if someone uses
> c->pnotes, you will run this code:
> 
>     if (!ccfg->pnotes) {
>         ccfg->pnotes = newHV();
>     }
> 
> And you have nothing in place to cleanup this newly created HV (and it's contents)

ah, yeah.  d'oh!

I'll work something up when I have the chance... in a month or two :)

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message