From ed25c75d6068cb0ea801919ea4d6b02ba7e6a804 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 10 May 2006 12:53:36 +0000 Subject: [PATCH] plug leak --- servers/slapd/back-meta/config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/back-meta/config.c b/servers/slapd/back-meta/config.c index 38a48ca88e..f968e0c442 100644 --- a/servers/slapd/back-meta/config.c +++ b/servers/slapd/back-meta/config.c @@ -48,7 +48,8 @@ meta_back_new_target( mt->mt_rwmap.rwm_rw = rewrite_info_init( REWRITE_MODE_USE_DEFAULT ); if ( mt->mt_rwmap.rwm_rw == NULL ) { - return -1; + ch_free( mt ); + return -1; } -- 2.39.5