db2secFreeErrormsg API - Free error message memory

Frees the memory used to hold an error message from a previous API call. This is the only API that does not return an error message. If this API returns an error, Db2® will log it and continue.

API and data structure syntax

     SQL_API_RC ( SQL_API_FN *db2secFreeErrormsg) 
                           ( char *errormsg );

db2secFreeErrormsg API parameters

errormsg
Input. A pointer to the error message allocated from a previous API call.