Free the memory that is used by a Removable Media information structure.
#include <bps/removablemedia.h>
BPS_API int removablemedia_free_info(removablemedia_info_t **pinfo)
BlackBerry 10.2.0
The structure whose memory needs to be freed.
The removablemedia_free_info() function releases the memory that is used by the specified Removable Media information structure, removablemedia_info_t. Only use this function on structures retrieved from the removablemedia_get_info() function.
BPS_SUCCESS upon success, BPS_FAILURE if the removablemedia_info_t did not come from removablemedia_get_info(). If BPS_FAILURE is returned, no memory has been freed.