From: Howard Chu Date: Wed, 10 May 2006 12:53:36 +0000 (+0000) Subject: plug leak X-Git-Tag: OPENLDAP_REL_ENG_2_4_1ALPHA~2^2~60 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ed25c75d6068cb0ea801919ea4d6b02ba7e6a804;p=openldap plug leak --- 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; }