[Date Prev][Date Next]
(ITS#4153) [libldap enhancement] The client library should store and return NULL instead of "" for matched, error and similar
- To: openldap-its@OpenLDAP.org
- Subject: (ITS#4153) [libldap enhancement] The client library should store and return NULL instead of "" for matched, error and similar
- From: email@example.com
- Date: Sat, 5 Nov 2005 16:33:22 GMT
Full_Name: Pierangelo Masarati
Submission from: (NULL) (22.214.171.124)
Submitted by: ando
I think if the client library could return NULL instead of a malloc'ed "" we
would save a lot of useless memory allocation and fragmentation, and have a much
cleaner interface and save lots of checks and frees in slapd, mainly in
back-ldap/meta and syncrepl.
See also the discussion in openldap-commit.
I'd commit this to HEAD, since it's protected behind an #ifdef that's only
defined #ifdef LDAP_DEVEL.