IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 12, 2004, 1:58:24 PM (22 years ago)
Author:
rhl
Message:

Make sure that no-one's using raw malloc/realloc/free

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psMemory.h

    r196 r222  
    6363#define psFree(size) p_psFree(size, __FILE__, __LINE__)
    6464
     65/*
     66 * Ensure that any program using malloc/realloc/free will fail to compile
     67 */
     68#define malloc(S) for
     69#define realloc(P,S) for
     70#define free(P) for
     71
    6572/*****************************************************************************/
    6673/** Check for memory leaks */
Note: See TracChangeset for help on using the changeset viewer.