# PetscObjectListDestroy
Destroy a list of objects 
## Synopsis
```
PetscErrorCode PetscObjectListDestroy(PetscObjectList *ifl)
```

## Input Parameter

- ***ifl   -*** pointer to list





## See Also
 `PetscObjectListAdd()`, `PetscObjectListFind()`, `PetscObjectListDuplicate()`, `PetscObjectListReverseFind()`, `PetscObjectListDuplicate()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/objects/olist.c.html#PetscObjectListDestroy">src/sys/objects/olist.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/objects/olist.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
