Frees memory allocated with srv_alloc or srv_config_alloc.
Important This Open Data Services function or macro is only supported in Microsoft® SQL Server™ version 7.0 for backward compatibility.
For more information about Open Data Services functions or macros supported for backward compatibility, see Open Data Services (Level 3).
int srv_free ( void * ptr );
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 by using srv_free, which is equivalent to the Microsoft Win32® GlobalFree function.
srv_alloc | srv_config_alloc |