The fini function cleans up the low-level driver and frees any memory associated with the given handle. The prototype for this function is:
void fini( void *hdl );
The argument is the handle of the low-level module that the init function returned.