The 32-bit linear virtual memory address space available to processes with the Win32 API simplifies memory management. This applies to Open Data Services programming as well as to all other programming for the Win32 API.
When you develop applications using the Win32 API, consider using the C run-time functions malloc and free to perform dynamic memory management. These functions are both safe and elegant with the Win32 API. In addition to the standard memory management functions (Global and Local, C run-time support), the Win32 API also provides heap and virtual memory management functions for applications that require specialized memory management.
The srv_alloc and srv_free Open Data Services functions are provided for backward compatibility.