int user_free_master(void **user)
The user frees all the data structures within *user, and also free *user itself. This can be done using the built-in macro FREE that checks the existence of a pointer before freeing it.
void **user | INOUT | Pointer to the user-defined data structure (should be NULL on return). |
USER_ERROR | Ignored. This is probably not a fatal error. |
USER_SUCCESS | Everything was freed successfully. |
USER_DEFAULT | There is no user memory to free. |