]> git.sur5r.net Git - openldap/commitdiff
ITS#8690 plug memleak on Delete ops
authorHoward Chu <hyc@openldap.org>
Fri, 21 Jul 2017 18:04:08 +0000 (19:04 +0100)
committerHoward Chu <hyc@openldap.org>
Fri, 21 Jul 2017 18:04:08 +0000 (19:04 +0100)
servers/slapd/overlays/syncprov.c

index bc96d0568dea927c959706b41c6fdb0ef9d9b06b..7339a8d7468009507d4869a1352752c3a9648c1b 100644 (file)
@@ -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;
                        }