* Dispose a pointer using the set memory-allocator */
| 95 | * Dispose a pointer using the set memory-allocator |
| 96 | */ |
| 97 | static short |
| 98 | dispose_ptr(void *ptr) |
| 99 | { |
| 100 | if (!ptr) { |
| 101 | return noErr; /* Silently accept disposing nulls */ |
| 102 | } |
| 103 | DisposePtr(ptr); |
| 104 | return MemError(); |
| 105 | } |
| 106 | |
| 107 | #if 0 /* Use alloc.c instead */ |
| 108 | /* |
no outgoing calls
no test coverage detected