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-11T16:27:17Z
Lists: pgsql-hackers
... btw, shouldn't this function free the "result" string when it's done with it? AFAICS that string is not returned to the caller, it's just being leaked. (I'll refrain from asking why it's creating the string in the first place rather than parsing ldap_get_values_len's output as-is ...) regards, tom lane