: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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/utils/str.c.html#PetscStrArrayDestroy">src/sys/utils/str.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/extchem.c.html">src/ts/tutorials/extchem.c</A><BR>


---
[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)  
