diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index d510b43098..5a26cf46cd 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1471,12 +1471,12 @@ update_cookie_retry: } } -done : - if ( e != NULL ) { entry_free( e ); } +done : + if ( modlist ) { slap_mods_free( modlist ); }