*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.
389-devel@lists.fedoraproject.org