Share

acad_free

C++

ACDBCORE2D_PORT void acad_free(
    void * p
);

File

acmem.h

Description

Deallocates a region of memory previously allocated by the acad_malloc, acad_realloc, or acad_calloc functions.

Releases memory pointed to by p. The memory was either allocated by a call to acad_malloc(), acad_realloc(), or acad_calloc() and returned to the application from AutoCAD, or returned by another ObjectARX application, which obtained the buffer either from AutoCAD or from a call to a memory allocation function.

Parameters

Parameters Description
p Input pointer to memory to be deallocated

Was this information helpful?