Reference

lbFree(3)

Frees memory.

NAME

lbFree - Frees memory.

SYNOPSIS

#include <leakbug.h>

void lbFree(void *ptr, const char *filename, int line, int debug_level);

PARAMETERS

ptr

The pointer to free.

filename

The calling filename.

line

The calling line number.

debug_level

The debug level.

DESCRIPTION

Frees memory. This wraps free(), and a new free() macro is created to wrap this. When using leakbug, you shouldn't call this directly. Instead, use free() as usual.

RETURNS

Nothing.

SEE ALSO

free(3)

History