From e49b10c286ecde1d31a094a82bb223a120ae656c Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 29 Jul 2010 17:14:20 -0500 Subject: Bug 619122 - fix coverify Defect Type: Resource leaks issues CID 11975 - 12053 https://bugzilla.redhat.com/show_bug.cgi?id=619122 Resolves: bug 619122 Bug description: fix coverify Defect Type: Resource leaks issues CID 12006. description: The dna_parse_config_entry() has been modified to release value properly. --- ldap/servers/plugins/dna/dna.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ldap/servers/plugins/dna/dna.c b/ldap/servers/plugins/dna/dna.c index 2261318e..6fc222a5 100644 --- a/ldap/servers/plugins/dna/dna.c +++ b/ldap/servers/plugins/dna/dna.c @@ -740,6 +740,7 @@ dna_parse_config_entry(Slapi_Entry * e, int apply) * attribute type. We require this since we internally * perform a sorted range search on what we assume to * be an INTEGER syntax. */ + slapi_ch_free_string(&value); } slapi_log_error(SLAPI_LOG_CONFIG, DNA_PLUGIN_SUBSYSTEM, -- cgit