Ulrich Weber uweber at astaro.com
Fri Jan 8 07:55:06 PST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

this patch adds some missing dstring_free and PQclear calls
found with valgrind.

Two notes:

a) remote_listen.c, remoteListenThread_main()
 query1 is used twice here. Cleanup was missing and
 there are multiple returns here, so I decided to free dstring
 after first usage and create it again for second usage...

b)  remote_worker.c, sync_helper()
 Moved PQclear(res2) directly after last usage.

Best regards
 Ulrich

- --
Ulrich Weber | uweber at astaro.com | Software Engineer
Astaro AG | www.astaro.de | Phone +49-721-25516-0 | Fax –200
An der RaumFabrik 33a | 76227 Karlsruhe | Germany

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktHVVoACgkQ22t2oTuElzqFjgCgidwpM85jfAhI1cmSUxHeOXLn
XOAAnijjp9nsaYeg0UoNeq9J/LWPNTFx
=doNb
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Add-missing-dstring_free-and-PQclear.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-patches/attachments/20100108/a3b236bb/attachment.bin 


More information about the Slony1-patches mailing list