Re: Fix for bug in ldapServiceLookup in libpq

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Albe Laurenz" <laurenz.albe@wien.gv.at>
Cc: "pgsql-hackers" <pgsql-hackers@postgresql.org>
Date: 2011-05-12T15:59:50Z
Lists: pgsql-hackers
"Albe Laurenz" <laurenz.albe@wien.gv.at> writes:
> I have attached a new version of the patch that should address all known
> problems.

You missed one "return" where the string needed to be freed.  I've
applied this patch with that fix and a couple of cosmetic changes.
Thanks for the report and patch!

			regards, tom lane