Share

acutRelRb

C++

int acutRelRb(
    struct resbuf * rb
);

File

acutads.h

Description

Releases the memory allocated to the specified result buffer, to all result buffers that follow it in its linked list, and to any memory allocated to string values in those result buffers.

The acutRelRb() function is the complement of acutNewRb(), but your application should call acutRelRb() to also release memory that is automatically allocated by several other ARX library functions, including the acutBuildList(), acdbEntGet(), acdbEntGetX(), acedGetSym(), acedNEntSelP(), acedNEntSel(), acdbTblNext(), and acdbTblSearch() functions.

If acutRelRb() succeeds, it returns RTNORM; otherwise, it returns an error code.

Parameters

Parameters Description
rb First result buffer to deallocate

Was this information helpful?