From: Pierangelo Masarati Date: Mon, 19 Oct 2009 23:39:59 +0000 (+0000) Subject: plug one-time leak X-Git-Tag: ACLCHECK_0~185 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=15c29b52fb4ab5766c04e44bbf6df6dce65a8fd6;p=openldap plug one-time leak --- diff --git a/servers/slapd/oc.c b/servers/slapd/oc.c index 3ba9501db3..7ea35fdace 100644 --- a/servers/slapd/oc.c +++ b/servers/slapd/oc.c @@ -807,6 +807,10 @@ done:; ch_free( soc->soc_allowed ); } + if ( soc->soc_oidmacro ) { + ch_free( soc->soc_oidmacro ); + } + ch_free( soc ); } else if ( rsoc ) {