From: Howard Chu Date: Fri, 21 Jul 2017 18:04:08 +0000 (+0100) Subject: ITS#8690 plug memleak on Delete ops X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1fbc0dff88737be501ed79942891752e7de5222e;p=openldap ITS#8690 plug memleak on Delete ops --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index bc96d0568d..7339a8d746 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1977,6 +1977,7 @@ 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 ); } break; }