This function returns am_status_t with one of the following values:
If the memory release process was successful.
If the session_token_handle parameter is NULL.
If any other error occurred.