Bug 235743

Summary: small memory leaks in task code
Product: [Retired] 389 Reporter: Rich Megginson <rmeggins>
Component: Directory ServerAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Viktor Ashirov <vashirov>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0.4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 16:43:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 152373, 240316, 427409    
Attachments:
Description Flags
diffs
none
cvs commit log none

Description Rich Megginson 2007-04-09 21:24:54 UTC
There are a couple of places in the tasks code that use
slapi_get_first_backend/slapi_get_next_backend where the iterator cookie is not
freed.

Comment 1 Rich Megginson 2007-04-09 22:13:00 UTC
Created attachment 152068 [details]
diffs

Comment 2 Noriko Hosoi 2007-04-09 22:33:07 UTC
Looks good to me.  I see one more cookie around the line 1444 in task.c.

Comment 3 Nathan Kinder 2007-04-09 22:40:51 UTC
Looks good.

Comment 4 Rich Megginson 2007-04-09 23:07:23 UTC
Created attachment 152073 [details]
cvs commit log

Reviewed by: nkinder, nhosoi (Thanks!)
Files: see diff
Branch: HEAD
Fix Description: There were a few places that were using
slapi_get_first/next_backend without freeing the iterator cookie.
Platforms tested: RHEL4
Flag Day: no
Doc impact: no

Comment 5 Rich Megginson 2008-01-02 21:25:31 UTC
Verified.