lbRegisterArray - Registers memory in an array for leakbug to keep track of.
SYNOPSIS
#include <leakbug.h>
void **lbRegisterArray(void **ptr, unsigned int dataSize, unsigned int numElements, const char *filename, int line, int debug_level);
PARAMETERS
ptr
The array pointer to register.
dataSize
The size of the data.
numElements
The number of elements in the array.
filename
The calling filename.
line
The calling line number.
debug_level
The debug level.
DESCRIPTION
This is used to register any memory not automatically handled by
leakbug. This is useful when leakbug dumps "Freeing unknown memory"
warnings in your program.