:orphan:
# PetscStrArrayDestroy
Frees array of strings created with `PetscStrArrayallocpy()`.
## Synopsis
```
#include "petscsys.h"
PetscErrorCode PetscStrArrayDestroy(char ***list)
```
Not Collective; No Fortran Support
## Output Parameter
- ***list -*** array of strings
## See Also
`PetscStrArrayallocpy()`
## Level
intermediate
## Location
src/sys/utils/str.c
## Examples
src/ts/tutorials/extchem.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/utils/str.c)
[Index of all Sys routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)