diff options
author | Endi S. Dewata <edewata@redhat.com> | 2010-07-29 17:14:20 -0500 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-08-19 14:24:16 -0700 |
commit | e49b10c286ecde1d31a094a82bb223a120ae656c (patch) | |
tree | a956e6c72c78cb2d4e712fcc18129ef49e354e66 | |
parent | 53ca55df5db80f24975824589c55886d022ec3cf (diff) | |
download | ds-e49b10c286ecde1d31a094a82bb223a120ae656c.tar.gz ds-e49b10c286ecde1d31a094a82bb223a120ae656c.tar.xz ds-e49b10c286ecde1d31a094a82bb223a120ae656c.zip |
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.
-rw-r--r-- | ldap/servers/plugins/dna/dna.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |