---
title: free
framework: kernel
role: pseudoSymbol
path: kernel/ioaudioport/1811888-free
---

# free

Frees all of the resources allocated by the IOAudioPort.

## Declaration

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

## Overview

Overview Do not call this directly. This is called automatically by the system when the instance's refcount goes to 0. To decrement the refcount, call release() on the object.

## See Also

### Miscellaneous

- [addAudioControl](kernel/ioaudioport/1811855-addaudiocontrol.md)
- [deactivateAudioControls](kernel/ioaudioport/1811875-deactivateaudiocontrols.md)
- [initWithAttributes](kernel/ioaudioport/1811904-initwithattributes.md)
- [start](kernel/ioaudioport/1811924-start.md)
- [stop](kernel/ioaudioport/1811938-stop.md)
- [withAttributes](kernel/ioaudioport/1811950-withattributes.md)
