DB2 Version 10.1 for Linux, UNIX, and Windows

sqlefmem API - Free the memory allocated by the sqlbtcq and sqlbmtsq API

Frees memory allocated by DB2® APIs on the caller's behalf. Intended for use with the sqlbtcq and sqlbmtsq APIs.

Authorization

None

Required connection

None

API include file

sqlenv.h

API and data structure syntax

SQL_API_RC SQL_API_FN
  sqlefmem (
        struct sqlca * pSqlca,
        void * pBuffer);

SQL_API_RC SQL_API_FN
  sqlgfmem (
        struct sqlca * pSqlca,
        void * pBuffer);

sqlefmem API parameters

pSqlca
Output. A pointer to the sqlca structure
pBuffer
Input. Pointer to the memory to be freed.