From 95f60af3542384f44736441f166d39333c29c0fc Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 21 Jul 2017 19:04:08 +0100 Subject: [PATCH] ITS#8690 plug memleak on Delete ops --- servers/slapd/overlays/syncprov.c | 2 ++ 1 file changed, 2 insertions(+) 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; } } -- 2.39.5