From 43fe9ac3ac239a1f49ee618820fa783fe4f15c44 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 30 Jul 2010 10:50:40 -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 12038. description: The urp_add_resolve_parententry() has been modified to release add_rdn before it returns. --- ldap/servers/plugins/replication/urp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ldap/servers/plugins/replication/urp.c b/ldap/servers/plugins/replication/urp.c index d1d55c4d..9410423d 100644 --- a/ldap/servers/plugins/replication/urp.c +++ b/ldap/servers/plugins/replication/urp.c @@ -938,6 +938,7 @@ urp_add_resolve_parententry (Slapi_PBlock *pb, char *sessionid, Slapi_Entry *ent bailout: if (parentdn) slapi_sdn_free(&parentdn); + slapi_rdn_free(&add_rdn); return rc; } -- cgit