/* ch_malloc.c - malloc routines that test returns from malloc and friends */
+/* $OpenLDAP$ */
/*
- * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
+#define CH_FREE 1
+
#include "portable.h"
#include <stdio.h>
#include "slap.h"
+#ifndef CSRIMALLOC
+
void *
ch_malloc(
ber_len_t size
{
ber_memfree( ptr );
}
+
+#endif