The fini function cleans up the 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 that the init function returned.