From: Howard Chu Date: Fri, 14 Mar 2003 09:42:18 +0000 (+0000) Subject: Plug leaks in controls_destroy() X-Git-Tag: NO_SLAP_OP_BLOCKS~113 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=55fea9715ebe45732df5313717771da42a637d6e;p=openldap Plug leaks in controls_destroy() --- diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index 0b2ff43964..43c7f59f6a 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -226,7 +226,9 @@ controls_destroy( void ) if ( sc->sc_extendedops != NULL ) { ldap_charray_free( sc->sc_extendedops ); } + ch_free( sc ); } + ldap_charray_free( slap_known_controls ); } /*