]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/acl.c
ITS#5728 release entries before send_ldap_ber()
[openldap] / servers / slapd / acl.c
index 41fefa79c768619d7b8f0b07b7efc58680df5219..48a4098641b9e18c561849184ba61d862c160b40 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2006 The OpenLDAP Foundation.
+ * Copyright 1998-2008 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -2476,7 +2476,7 @@ acl_set_cb_gather( Operation *op, SlapReply *rs )
                        }
                }
 
-               if ( bvals ) {
+               if ( bvalsp ) {
                        p->bvals = slap_set_join( p->cookie, p->bvals,
                                        ( '|' | SLAP_SET_RREF ), bvalsp );
                }