Memory Profiler for C News
Simple C library for helping writting code with no memory leaks
Brought to you by:
portucalle
Version 2.0 now supports all the standard C memory allocation functions:
- profile_malloc
- profile_calloc
- profile_realloc
- profile_free
The following extra functions are also available if you wish to include a comment when performing one of the memory allocation procedures:
- profile_malloc_with_comment
- profile_calloc_with_comment
- profile_realloc_with_comment
Additionally, the library now checks if an error occurred while trying to allocate memory and
sets the corresponding size field to zero in the profiler's data structure.