Deletes a dynamic parameter at run-time, freeing its buffer.

C Language

int lr_free_parameter( const char *param );

Example: lr_free_parameter Parameter Functions


Name Comments
param The name of the dynamic parameter.

The lr_free_parameter function frees the memory allocated at run-time for the specified parameter.

lr_free_parameter frees the memory for parameters created at run-time using functions such as web_reg_save_param or lr_save_string. For other functions that create parameters at run-time, see the Parameter Functions and the Web Correlation Functions for C. For similar functions in other protocols, see the reference for the specific protocol.

Return Values

This function returns 0 if it succeeds. Success means that both of the following are true:

Otherwise, the function returns a negative number.


You cannot use standard parameterization for any arguments in this function.