From: Howard Chu Date: Fri, 21 Jul 2017 18:04:08 +0000 (+0100) Subject: ITS#8690 plug memleak on Delete ops X-Git-Tag: OPENLDAP_REL_ENG_2_4_46~84 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=95f60af3542384f44736441f166d39333c29c0fc;p=openldap ITS#8690 plug memleak on Delete ops --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 246628c1a1..3e76673360 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1980,6 +1980,8 @@ syncprov_op_response( Operation *op, SlapReply *rs ) continue; syncprov_qresp( opc, sm->sm_op, LDAP_SYNC_DELETE ); } + if ( opc->ssres.s_info ) + free_resinfo( &opc->ssres ); break; } }