From: Luke Howard Date: Thu, 30 Jan 2003 13:06:34 +0000 (+0000) Subject: Terminate f_sub_any array X-Git-Tag: NO_SLAP_OP_BLOCKS~469 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=afc8ec976b5cf14264384e93cfea0277fd5302c4;p=openldap Terminate f_sub_any array --- diff --git a/servers/slapd/slapi/slapi_utils.c b/servers/slapd/slapi/slapi_utils.c index ecccf2a310..9a528c4450 100644 --- a/servers/slapd/slapi/slapi_utils.c +++ b/servers/slapd/slapi/slapi_utils.c @@ -1433,6 +1433,7 @@ slapi_filter_dup( Slapi_Filter *filter ) for ( i = 0; filter->f_sub_any[i].bv_val != NULL; i++ ) { ber_dupbv( &f->f_sub_any[i], &filter->f_sub_any[i] ); } + f->f_sub_any[i].bv_val = NULL; ber_dupbv( &f->f_sub_final, &filter->f_sub_final ); break; }