[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3649) be_unbind() is not called for frontendDB



Full_Name: Pierangelo Masarati
Version: HEAD
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (131.175.154.56)
Submitted by: ando


do_unbind() calls backend_unbind(), which cycles on all databases except the
frontendDB.  Typically, this is not an issue, since there's nothing to do in the
frontend for unbind; however, if a global overlay needs to install some unbind
hook, this will never be invoked.

I've fixed the problem by invoking frontendDB->be_unbind() right before
backend_unbind() in do_unbind().

p.