[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
si_presentlist could use a single malloc instead of two :)
- To: OpenLDAP Devel <openldap-devel@openldap.org>
- Subject: si_presentlist could use a single malloc instead of two :)
- From: Pierangelo Masarati <ando@sys-net.it>
- Date: Tue, 02 Oct 2007 22:39:52 +0200
- User-agent: Mail/News 1.5.0.8 (X11/20061210)
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
---------------------------------------