1 /***********************************************************************/
2 /* Open Visualization Data Explorer                                    */
3 /* (C) Copyright IBM Corp. 1989,1999                                   */
4 /* ALL RIGHTS RESERVED                                                 */
5 /* This code licensed under the                                        */
6 /*    "IBM PUBLIC LICENSE - Open Visualization Data Explorer"          */
7 /***********************************************************************/
8 
9 #include <dxconfig.h>
10 #include "../base/defines.h"
11 
12 
13 
14 
delete(void * p)15 void operator delete(void *p)
16 {
17 //    ASSERT(p != NULL);
18 
19 #if defined(MALLOC_DEBUG) && !defined(__PURIFY__)
20 #ifdef sun4
21     malloc_verify();
22 #endif
23 #endif
24 
25     if (p == NULL)
26     {
27 #if defined(MALLOC_DEBUG)
28 	printf("void operator delete(void*): Freeing NULL pointer\n");
29 #endif
30     }
31     else
32 	FREE(p);
33 }
34