Bervals stored in si_presentlist could use a single malloc instead of two if the berval and the payload are malloc'ed in one shot. This would be allowed by the very well confined use that is made of those data. Any objection?
OK with me.
-- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/