]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorPierangelo Masarati <ando@openldap.org>
Sat, 20 Aug 2005 19:50:59 +0000 (19:50 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 20 Aug 2005 19:50:59 +0000 (19:50 +0000)
servers/slapd/overlays/retcode.c

index 23aa26164f2223ceb346f79f3b7bbc5528e4f5dd..25e12d366fe1f1e24eee27f03dcedefac0b62515 100644 (file)
@@ -404,6 +404,7 @@ retcode_op_func( Operation *op, SlapReply *rs )
                send_ldap_result( op, rs );
                if ( rs->sr_ref != NULL ) {
                        ber_bvarray_free( rs->sr_ref );
+                       rs->sr_ref = NULL;
                }
                rs->sr_matched = NULL;
                rs->sr_text = NULL;