From 55fea9715ebe45732df5313717771da42a637d6e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 14 Mar 2003 09:42:18 +0000 Subject: [PATCH] Plug leaks in controls_destroy() --- servers/slapd/controls.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); } /* -- 2.39.5