Mercurial > hg > xemacs-beta
comparison modules/ldap/eldap.c @ 5141:0dcd22290039
fix issues with finalizers in number.c, postgresql, ldap
-------------------- ChangeLog entries follow: --------------------
modules/ChangeLog addition:
2010-03-07 Ben Wing <ben@xemacs.org>
* postgresql/postgresql.c (finalize_pgconn):
* postgresql/postgresql.c (finalize_pgresult):
* ldap/eldap.c (finalize_ldap):
Fix the finalizers to go with the new calling sequence. Done
previously but somehow got lost.
src/ChangeLog addition:
2010-03-07 Ben Wing <ben@xemacs.org>
* number.c (bignum_finalize):
* number.c (ratio_finalize):
* number.c (bigfloat_finalize):
Fix the finalizers to go with the new calling sequence. Done
previously but somehow got lost.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sun, 07 Mar 2010 19:26:04 -0600 |
parents | a9c41067dd88 |
children | f965e31a35f0 |
comparison
equal
deleted
inserted
replaced
5135:59bac09f31d2 | 5141:0dcd22290039 |
---|---|
147 ldap->host = Qnil; | 147 ldap->host = Qnil; |
148 return ldap; | 148 return ldap; |
149 } | 149 } |
150 | 150 |
151 static void | 151 static void |
152 finalize_ldap (void *header) | 152 finalize_ldap (Lisp_Object obj) |
153 { | 153 { |
154 Lisp_LDAP *ldap = (Lisp_LDAP *) header; | 154 Lisp_LDAP *ldap = XLDAP (obj); |
155 | 155 |
156 if (ldap->ld) | 156 if (ldap->ld) |
157 ldap_unbind (ldap->ld); | 157 ldap_unbind (ldap->ld); |
158 ldap->ld = NULL; | 158 ldap->ld = NULL; |
159 } | 159 } |