-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22/04/2011 21:09, Jehan-Guillaume (ioguix) de Rorthais wrote:
> Hi,
> 
> Before studying the double free problem on pgpool_adm extension, I had a
> look quickly on pcp/pcp.c and found some place where I believe there is
> some memory leaks.
> 
> Basically, in some while(1) loops in few functions, we "free(buff)" only
> on errors, but never when the code loop normally.
> 
> In attachment, a patch that fix the ones I found.

Oops, a typo in the patch between "buff" and "buf" :(
See attachment.

- -- 
Jehan-Guillaume (ioguix) de Rorthais
DBA
http://www.dalibo.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2x13IACgkQXu9L1HbaT6Jg/gCfabdLtT+GhV7ZyLlLQlkDnVS9
JOMAoKj860vYy9uWBQ6deF6R0AGnDoK3
=KkZM
-----END PGP SIGNATURE-----

Attachment: fix_potential_memory_leeks-2.patch.gz
Description: application/gzip

_______________________________________________
Pgpool-hackers mailing list
[email protected]
http://pgfoundry.org/mailman/listinfo/pgpool-hackers

Reply via email to