From: Kurt Zeilenga Date: Thu, 20 May 1999 22:01:38 +0000 (+0000) Subject: Should not have freed ber_buf when freeing temp copy X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6762f1d48a2cd303dc0b6e9bcc05c08bd7d9b568;p=openldap Should not have freed ber_buf when freeing temp copy --- diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 0e1d4d0576..480e11d71d 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -71,7 +71,7 @@ do_bind( rc = ber_scanf( ber, "{iato}", &version, &cdn, &method, &cred ); } - ber_free( tber, 1 ); + ber_free( tber, 0 ); } #else rc = ber_scanf( ber, "{iato}", &version, &cdn, &method, &cred );