void __RPC_API midl_user_free(void __RPC_FAR * p);
void __RPC_API midl_user_free(void __RPC_FAR * p)
{
free(p);
}
Both client application and server application must implement the midl_user_free function, unless you are compiling in OSF-compatibility (/osf) mode. The midl_user_free function must be able to free all storage allocated by midl_user_allocate.
Applications and stubs call midl_user_free when dealing with objects referenced by pointers:
midl_user_allocate, pointers, unique