From 15c29b52fb4ab5766c04e44bbf6df6dce65a8fd6 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 19 Oct 2009 23:39:59 +0000 Subject: [PATCH] plug one-time leak --- servers/slapd/oc.c | 4 ++++ 1 file changed, 4 insertions(+) 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 ) { -- 2.39.5