Frees an initialized policy evaluator.
#include "am_policy.h" AM_EXPORT am_status_t am_policy_destroy(am_policy_t policy);
This function takes the following parameters:
Opaque handle to the policy service to destroy.
This function returns am_status_t with one of the following values:
If the call was successful.
If any error occurs, the type of error indicated by the status value.
This function destroys a policy service instance. Memory Concerns: Caller must call make sure the same service instance not be destroyed more than once.