Neil Conway <neilc(at)samurai(dot)com> writes:
> I fixed this by adding the appropriate ldap_unbind() calls in error
> control paths. An alternative would be to have a single place do the
> error handling, and jump to that via goto.
Perhaps use a PG_TRY construct?
regards, tom lane
In response to
Responses
pgsql-hackers by date
| Next: | From: mark | Date: 2006-11-05 06:15:51 |
| Subject: PostgreSQL 8.2 (from CVS devel) first impressions |
| Previous: | From: Neil Conway | Date: 2006-11-05 00:43:37 |
| Subject: ldap: fix resource leak |
pgsql-patches by date
| Next: | From: Simon Riggs | Date: 2006-11-05 09:21:05 |
| Subject: Re: Proposal: vacuum and autovacuum parameters to control freezing |
| Previous: | From: Neil Conway | Date: 2006-11-05 00:43:37 |
| Subject: ldap: fix resource leak |