/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2001-2006 The OpenLDAP Foundation.
+ * Copyright 2001-2012 The OpenLDAP Foundation.
* Portions Copyright 2001-2003 Pierangelo Masarati.
* All rights reserved.
*
if ( rc )
return NULL;
- e = ch_calloc( 1, sizeof( Entry ));
+ e = entry_alloc();
if ( e ) {
struct berval nrdn;