Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/servers/plugins/dna
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25637/ldap/servers/plugins/dna
Modified Files:
dna.c
Log Message:
Resolves: #466702
Summary: Memory usage research: checking in the experimental code
See also:
http://directory.fedoraproject.org/wiki/Memory_Usage_Research
Index: dna.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/dna/dna.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- dna.c 8 Oct 2008 17:29:02 -0000 1.11
+++ dna.c 15 Oct 2008 06:29:56 -0000 1.12
@@ -680,7 +680,7 @@
value = slapi_entry_get_ndn(e);
if (value) {
- entry->dn = strdup(value);
+ entry->dn = slapi_ch_strdup(value);
}
slapi_log_error(SLAPI_LOG_CONFIG, DNA_PLUGIN_SUBSYSTEM,