---
title: free
framework: networkingdriverkit
role: symbol
role_heading: Instance Method
path: networkingdriverkit/iousernetworkethernet/free
---

# free

Performs any final cleanup for the service.

## Declaration

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

## Discussion

Discussion Use this method to perform any final cleanup of your service, such as deallocating any memory associated with your service. The system calls this method at some point after it calls your service’s Stop method.

## See Also

### Configuring the Driver Service

- [init](networkingdriverkit/iousernetworkethernet/init.md)
- [RegisterEthernetInterface](networkingdriverkit/iousernetworkethernet/registerethernetinterface-4jqw8.md)
