# Destroy(UnsafePtrList<T>*)

> Destroys the list.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections.LowLevel.Unsafe](/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public static void Destroy(UnsafePtrList<T>* listData)
```

### Parameters

**** (\[UnsafePtrList\<T>\*]\(/engine/6000.7/script-reference/unity/collections/lowlevel/unsafe/unsafeptrlist1)): The list to destroy.
