[Fedora-directory-devel] Please review: [Bug 436830] Memory leak in ns-slapd's Class Of Service

Noriko Hosoi nhosoi at redhat.com
Thu Jan 8 22:15:30 UTC 2009


  *Bug 436830* <https://bugzilla.redhat.com/show_bug.cgi?id=436830> - 
Memory leak in ns-slapd's Class Of Service

https://bugzilla.redhat.com/show_bug.cgi?id=436830

//

[Problem description by Tamas Bagyal]

>From Bugzilla Helper:
User-Agent: Opera/9.50 (X11; Linux i686; U; en)

Description of problem:
I found a memory leak in ns-slapd when using cos. the fds build on a debian 
etch using the build-ds script and follow the instructions on the mailing-list.
the database replicated from an fds version 1.0.4 which is in mmr with 1.1.0.
errors log shows nothing.

valgrind's output see in the attachment.

[Proposed fix]
Created an attachment (id=328497)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=328497)
cvs diff ldapserver/ldap/servers/plugins/cos/cos_cache.c

Fix Description: When all the necessary values for the CoS template cache are not
available, the allocated memory should be discarded.  One of them pCosPriority
was missed to release.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3250 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20090108/cd7c8902/attachment.bin>


More information about the Fedora-directory-devel mailing list