]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/main.c
ITS#3922 fix syncrepl ctxcsn leak
[openldap] / servers / slapd / main.c
index a6ccd6f1509c78ee752eb7bb4d93d531f8aefc67..e0b870df4a7171cbb6e3b03af977b18e4e5f8c6f 100644 (file)
@@ -361,7 +361,7 @@ int main( int argc, char **argv )
                        scp = (struct sync_cookie *) ch_calloc( 1,
                                                                                sizeof( struct sync_cookie ));
                        ber_str2bv( optarg, 0, 1, &scp->octet_str );
-                       slap_parse_sync_cookie( scp );
+                       slap_parse_sync_cookie( scp, NULL );
 
                        LDAP_STAILQ_FOREACH( scp_entry, &slap_sync_cookie, sc_next ) {
                                if ( scp->rid == scp_entry->rid ) {