+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
/*
* tmplout.c: display template library output routines for LDAP clients
* 12 April 1994 by Mark C Smith
ldap_value_free( vals );
}
}
+
+ if( ber != NULL) {
+ ber_free( ber, 0 );
+ }
} else {
for ( rowp = ldap_first_tmplrow( tmpl );
NONFATAL_LDAP_ERR( err ) && rowp != NULLTMPLITEM;
gmttime = gtime( &t );
- timestr = ldap_int_ctime( &gmttime, timebuf );
+ timestr = ldap_pvt_ctime( &gmttime, timebuf );
timestr[ strlen( timestr ) - 1 ] = zone; /* replace trailing newline */
if ( dateonly ) {