ber_int_memfree( void **p )
{
assert( p != NULL );
- BER_MEM_VALID( *p )
+ BER_MEM_VALID( *p );
ber_memfree( p );
return;
}
- BER_MEM_VALID( p )
+ BER_MEM_VALID( p );
if( ber_int_memory_fns == NULL ) {
#ifdef LDAP_MEMORY_DEBUG
return;
}
- BER_MEM_VALID( vec )
+ BER_MEM_VALID( vec );
for ( i = 0; vec[i] != NULL; i++ ) {
LBER_FREE( vec[i] );
mh->bm_junk = BER_MEM_JUNK;
- BER_MEM_VALID( &mh[1] )
+ BER_MEM_VALID( &mh[1] );
return &mh[1];
#else
return malloc( s );
mh->bm_junk = BER_MEM_JUNK;
- BER_MEM_VALID( &mh[1] )
+ BER_MEM_VALID( &mh[1] );
return &mh[1];
#else
return calloc( n, s );
return NULL;
}
- BER_MEM_VALID( p )
+ BER_MEM_VALID( p );
if( ber_int_memory_fns == NULL ) {
#ifdef LDAP_MEMORY_DEBUG
assert( mh->bm_junk == BER_MEM_JUNK );
- BER_MEM_VALID( &mh[1] )
+ BER_MEM_VALID( &mh[1] );
return &mh[1];
#else
return realloc( p, s );
return;
}
- BER_MEM_VALID( bv )
+ BER_MEM_VALID( bv );
if ( bv->bv_val != NULL )
LBER_FREE( bv->bv_val );
return;
}
- BER_MEM_VALID( bv )
+ BER_MEM_VALID( bv );
for ( i = 0; bv[i] != NULL; i++ )
ber_bvfree( bv[i] );