From 96767fee77b41d93b257e1be284048f1e95ce11e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 28 Aug 2007 23:13:29 +0000 Subject: [PATCH] back out previous two commits --- servers/slapd/syncrepl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index c400741ae9..d0893a3144 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1644,7 +1644,7 @@ syncrepl_message_to_entry( { Entry *e = NULL; BerElement *ber = NULL; - Modifications tmp = { 0 }; + Modifications tmp; Modifications *mod; Modifications **modtail = modlist; @@ -1709,7 +1709,6 @@ syncrepl_message_to_entry( */ if ( is_ctx && !strcasecmp( tmp.sml_type.bv_val, slap_schema.si_ad_contextCSN->ad_cname.bv_val )) { - if ( tmp.sml_nvalues ) ber_bvarray_free( tmp.sml_nvalues ); ber_bvarray_free( tmp.sml_values ); continue; } -- 2.39.5