]> git.sur5r.net Git - openldap/commitdiff
ITS#8690 fix prev commit
authorHoward Chu <hyc@openldap.org>
Tue, 1 Aug 2017 20:57:02 +0000 (21:57 +0100)
committerHoward Chu <hyc@openldap.org>
Tue, 1 Aug 2017 20:57:02 +0000 (21:57 +0100)
servers/slapd/overlays/syncprov.c

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