From: Ralf Haferkamp Date: Wed, 19 Oct 2011 09:46:00 +0000 (+0200) Subject: plugged mem-leak introduced by last commit X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72483b1d7239e1e6b7223ba5283378da1b78ebed;p=openldap plugged mem-leak introduced by last commit more for ITS#7066 --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 32d8e0123c..d7f4ba09cf 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -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; }