[Fedora-directory-commits] ldapserver/ldap/servers/plugins/retrocl retrocl_po.c, 1.6, 1.7
Noriko Hosoi
nhosoi at fedoraproject.org
Wed Oct 15 06:30:02 UTC 2008
- Previous message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/plugins/replication cl5_api.c, 1.22, 1.23 repl5_agmt.c, 1.13, 1.14 repl_controls.c, 1.9, 1.10 repl_objset.c, 1.5, 1.6 replutil.c, 1.11, 1.12 urp.c, 1.6, 1.7
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/plugins/rever des.c, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/servers/plugins/retrocl
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25637/ldap/servers/plugins/retrocl
Modified Files:
retrocl_po.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: retrocl_po.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/retrocl/retrocl_po.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- retrocl_po.c 10 Nov 2006 23:45:18 -0000 1.6
+++ retrocl_po.c 15 Oct 2008 06:29:59 -0000 1.7
@@ -133,7 +133,7 @@
addlenstr( l, buf );
- free( buf );
+ slapi_ch_free_string( &buf );
}
addlenstr( l, "-\n" );
}
@@ -219,7 +219,7 @@
val.bv_val = format_genTime (curtime);
val.bv_len = strlen( val.bv_val );
slapi_entry_add_values( e, attr_changetime, vals );
- free( val.bv_val );
+ slapi_ch_free( (void **)&val.bv_val );
/*
* Finish constructing the entry. How to do it depends on the type
@@ -329,7 +329,7 @@
val.bv_val = p;
val.bv_len = len - ( p - estr ); /* length + terminating \0 */
slapi_entry_add_values( e, attr_changes, vals );
- free( estr );
+ slapi_ch_free_string( &estr );
return 0;
}
- Previous message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/plugins/replication cl5_api.c, 1.22, 1.23 repl5_agmt.c, 1.13, 1.14 repl_controls.c, 1.9, 1.10 repl_objset.c, 1.5, 1.6 replutil.c, 1.11, 1.12 urp.c, 1.6, 1.7
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/plugins/rever des.c, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-directory-commits
mailing list