]> git.sur5r.net Git - openldap/commitdiff
Should not have freed ber_buf when freeing temp copy
authorKurt Zeilenga <kurt@openldap.org>
Thu, 20 May 1999 22:01:38 +0000 (22:01 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 20 May 1999 22:01:38 +0000 (22:01 +0000)
servers/slapd/bind.c

index 0e1d4d0576813697edc5221ccb42518c66b39f92..480e11d71d6f4c997c997c56df28b9e9d06522e2 100644 (file)
@@ -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 );