[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: memory leaks

I'm continuing to search for memory leaks in slapd using Purify. I've
found that the substrings searches can leak a berval that was allocated by
UTF8SubstringsassertionNormalize(), since it UTF8normalize's the initial
and final sub strings.  I changed the ch_free's to ber_bvfree's in a few
places in schema_init.c.

Please test the new schema_init.c with substrings searches.

Is anyone looking at memory usage optimizations?  It seems there are a lot
of places that dup strings.

-Mark Adamson
 Carnegie Mellon