diff options
author | Endi S. Dewata <edewata@redhat.com> | 2010-07-30 10:32:47 -0500 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-08-19 14:25:49 -0700 |
commit | 44d8a635311938f3a51ddaec236afe84c4944a40 (patch) | |
tree | 90633911b9f632b233148536e1ede71ef5df23fc /ldap | |
parent | a3628f693ef9875c37cfbeb6aef1acc4d88d8e61 (diff) | |
download | ds-44d8a635311938f3a51ddaec236afe84c4944a40.tar.gz ds-44d8a635311938f3a51ddaec236afe84c4944a40.tar.xz ds-44d8a635311938f3a51ddaec236afe84c4944a40.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 12036.
description: The replica_create_ruv_tombstone() has been modified to release ruv when an error occurs.
Diffstat (limited to 'ldap')
-rw-r--r-- | ldap/servers/plugins/replication/repl5_replica.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/servers/plugins/replication/repl5_replica.c b/ldap/servers/plugins/replication/repl5_replica.c index 7c5e392e..1b1af659 100644 --- a/ldap/servers/plugins/replication/repl5_replica.c +++ b/ldap/servers/plugins/replication/repl5_replica.c @@ -2717,6 +2717,7 @@ replica_create_ruv_tombstone(Replica *r) slapi_log_error(SLAPI_LOG_FATAL, repl_plugin_name, "Cannot create new replica update vector for %s\n", escape_string(slapi_sdn_get_dn(r->repl_root),ebuf)); + ruv_destroy(&ruv); goto done; } } |