---
title: vDSP_DFT_DestroySetup
framework: accelerate
role: symbol
role_heading: Function
path: accelerate/vdsp_dft_destroysetup
---

# vDSP_DFT_DestroySetup

Releases a single-precision setup structure.

## Declaration

```occ
void vDSP_DFT_DestroySetup(vDSP_DFT_Setup __Setup);
```

## Parameters

- `__Setup`: The setup structure to destroy.

## Discussion

Discussion Destroying a setup with shared data is safe; this function only releases memory that’s not needed by other undestroyed setups. note: This function isn’t fully thread-safe. You must not call this function concurrently with any function that uses the setup structure or any other setup structure that shares its underlying storage.

## See Also

### Discrete Fourier transform cleanup

- [vDSP_DFT_DestroySetupD](accelerate/vdsp_dft_destroysetupd.md)
