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

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.
- -- 
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/

iEYEARECAAYFAk2x0lIACgkQXu9L1HbaT6JJYQCffKZCQhpT7hDw5uHJSYhR9w59
3y4AoLdiKPA7xGmyVTHCPRA7vY5372Bt
=ebTL
-----END PGP SIGNATURE-----

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

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

Reply via email to