]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/overlays/seqmod.c
Happy New Year
[openldap] / servers / slapd / overlays / seqmod.c
index 1a2506223ca7b3ee9e939b5d4df78ad31e4088ae..66e3dc1ffe95a316c34325e79706c64290762344 100644 (file)
@@ -1,7 +1,7 @@
 /* seqmod.c - sequenced modifies */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2004-2014 The OpenLDAP Foundation.
+ * Copyright 2004-2018 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -168,6 +168,7 @@ seqmod_db_close(
                ldap_pvt_thread_mutex_destroy( &sm->sm_mutex );
 
                ch_free( sm );
+               on->on_bi.bi_private = NULL;
        }
 
        return 0;