lbMalloc3
Allocates memory.
Usage
#include <leakbug.h>
void *lbMalloc(size_t size, const char *filename, int line, int debug_level);
Parameters
|
The size of the memory to allocate. |
|---|---|
|
The calling filename. |
|
The calling line number. |
|
The debug level. |
Overview
Allocates memory. This wraps malloc(), and a new malloc() macro is created to wrap this. When using leakbug, you shouldn't call this directly. Instead, use malloc() as usual.
Returns
A pointer to the new chunk of memory.
Releases
3 releases since Debian 3.0 (Woody); the text changed 1 time.