---
title: free
framework: audiodriverkit
role: symbol
role_heading: Instance Method
path: audiodriverkit/iouseraudiodriver/free
---

# free

Performs any final cleanup for the service.

## Declaration

```occ
virtual void free();
```

## Discussion

Discussion Override this method inherited from IOService. Use this method to perform any final cleanup of your service, such as deallocating any memory you allocated. The system calls this method at some point after it calls your service’s Stop method. Always call super at the end of your custom implementation.

## See Also

### Running the Driver Service

- [init](audiodriverkit/iouseraudiodriver/init.md)
- [Start](audiodriverkit/iouseraudiodriver/start.md)
- [Stop](audiodriverkit/iouseraudiodriver/stop.md)
