From: Marc Fournier Date: Tue, 1 Jul 2014 12:32:27 +0000 (+0200) Subject: openldap: fix double-free error on shutdown X-Git-Tag: collectd-5.5.0~152^2~17 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3b0c076cef22f11bbce30d01f03c61a2e1579b59;p=collectd.git openldap: fix double-free error on shutdown This is already handled by ldap_unbind_ext_s() on line 739 --- 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),