From: Howard Chu Date: Tue, 1 Aug 2017 20:57:02 +0000 (+0100) Subject: ITS#8690 fix prev commit X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9827569ff0a57040d6869d2dfa062b2aedc9ba69;p=openldap ITS#8690 fix prev commit --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 7339a8d746..27c49a2a3c 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1977,7 +1977,8 @@ syncprov_op_response( Operation *op, SlapReply *rs ) if ( sm->sm_op->s_op->o_abandon ) continue; syncprov_qresp( opc, sm->sm_op, LDAP_SYNC_DELETE ); - free_resinfo( &opc->ssres ); + if ( opc->ssres.s_info ) + free_resinfo( &opc->ssres ); } break; }