From 0025d7fa1f8959286ae551dc72a1f3237bdb88ca Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 22 Aug 2007 19:33:28 +0000 Subject: [PATCH] Fix last commit. --- libraries/libldap/controls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libldap/controls.c b/libraries/libldap/controls.c index 042dfe97a7..c9847a3b7d 100644 --- a/libraries/libldap/controls.c +++ b/libraries/libldap/controls.c @@ -434,7 +434,7 @@ ldap_create_control( return LDAP_NO_MEMORY; } - ctrl->ldctl_value = NULL; + BER_BVZERO(&ctrl->ldctl_value); if ( ber && ( ber_flatten2( ber, &ctrl->ldctl_value, 1 ) == -1 )) { LDAP_FREE( ctrl ); return LDAP_NO_MEMORY; -- 2.39.5