Frees memory allocated with srv_alloc or srv_config_alloc.
int srv_free ( void * ptr );
where
SUCCEED if the memory was successfully freed; otherwise, FAIL.
Memory allocated with srv_alloc or srv_config_alloc is not freed unless you free it using srv_free. The srv_free function is provided for backward compatibility with earlier versions of Open Data Services. It is equivalent to the Win32 GlobalFree function.
This entry | For information about |
---|---|
srv_alloc | Allocating memory dynamically |
srv_config_alloc | Allocating an SRV_CONFIG structure |