From 486965a74c256b2a525405abfd767b4f47eaef81 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 13 Jan 2015 22:01:17 +0000 Subject: [PATCH] plug memleak in cr index (coverity) --- servers/slapd/back-bdb/attr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/back-bdb/attr.c b/servers/slapd/back-bdb/attr.c index 2f183b3bf3..4da751f959 100644 --- a/servers/slapd/back-bdb/attr.c +++ b/servers/slapd/back-bdb/attr.c @@ -298,6 +298,7 @@ bdb_attr_index_config( * just add the extracted component reference * in the AttrInfo */ + ch_free( a ); rc = insert_component_reference( cr, &a_cr->ai_cr ); if ( rc != LDAP_SUCCESS) { fprintf( stderr, " error during inserting component reference in %s ", attrs[i]); -- 2.39.5