Share

acdbFree

C++

void acdbFree(
    void*
);

File

dbmain.h

Description

Used in place of free() to deallocate memory originally allocated from the AcDbObject memory heap. Any memory allocated via acdbAlloc() should be deallocated using this function.

Since these are overridden at the AcDbObject level, the preferred method is to use new and delete, so when they are used within member functions of any class derived (either directly or indirectly) from AcDbObject, the correct memory heap will be used.

Parameters

Parameters Description
unnamed Input pointer to the memory to be deallocated

Was this information helpful?