| 118 | |
| 119 | |
| 120 | void *m_alloc(unsigned long size, const char *file, unsigned long line) |
| 121 | { |
| 122 | ILvoid *ptr; |
| 123 | ptr = malloc(size); |
| 124 | if (!ptr) |
| 125 | return NULL; |
| 126 | AddToAtexit(); |
| 127 | AddTrack((unsigned long)ptr, size, file, line); |
| 128 | return ptr; |
| 129 | } |
| 130 | |
| 131 | |
| 132 | void f_ree(void *ptr) |
nothing calls this directly
no test coverage detected