Open topic with navigation
|Example: lrs_free_buffer||Buffer Functions|
Frees the memory allocated for a buffer.
int lrs_free_buffer( char *buffer );
|buffer||A pointer to a buffer.|
CAUTION: Only use this function for freeing memory allocated by lrs_get_buffer_by_name or lrs_get_last_received_buffer. Do not use this function to free memory allocated by other functions.
This function is not recorded during a WinSock session; you must insert it into your script manually. After you retrieve a buffer using lrs_get_buffer_by_name or lrs_get_last_received_buffer, you should free the allocated memory using lrs_free_buffer, provided that you no longer need the buffer.
You cannot use standard parameterization for any arguments in this function.