]> git.sur5r.net Git - openldap/commitdiff
plugged mem-leak introduced by last commit
authorRalf Haferkamp <ralf@openldap.org>
Wed, 19 Oct 2011 09:46:00 +0000 (11:46 +0200)
committerRalf Haferkamp <ralf@openldap.org>
Wed, 19 Oct 2011 12:59:17 +0000 (14:59 +0200)
more for ITS#7066

servers/slapd/bconfig.c

index 32d8e0123c25bf8ffd3475c78a26965ac5afedd6..d7f4ba09cfc868c0ce83f0b054a1fd37bcdea103 100644 (file)
@@ -7072,6 +7072,11 @@ config_back_db_close( BackendDB *be, ConfigReply *cr )
                backend_shutdown( &cfb->cb_db );
        }
 
+       if ( defacl_parsed ) {
+               acl_free( defacl_parsed );
+               defacl_parsed = NULL;
+       }
+
        return 0;
 }