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?
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it --------------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Email: pierangelo.masarati@sys-net.it ---------------------------------------