From 3b0c076cef22f11bbce30d01f03c61a2e1579b59 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Tue, 1 Jul 2014 14:32:27 +0200 Subject: [PATCH] openldap: fix double-free error on shutdown This is already handled by ldap_unbind_ext_s() on line 739 --- src/openldap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/openldap.c b/src/openldap.c index 28f4f5fc..24687e07 100644 --- a/src/openldap.c +++ b/src/openldap.c @@ -244,7 +244,6 @@ static int ldap_config_add (oconfig_item_t *ci) /* {{{ */ memset (&ud, 0, sizeof (ud)); ud.data = st; - ud.free_func = (void *) ldap_free; memset (callback_name, 0, sizeof (callback_name)); ssnprintf (callback_name, sizeof (callback_name), -- 2.30.2