# TaoLineSearchFinalizePackage
This function destroys everything in the PETSc/TAO interface to the TaoLineSearch package. It is called from PetscFinalize(). 
## Synopsis
```
PetscErrorCode TaoLineSearchFinalizePackage(void)
```


## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/linesearch/interface/dlregis_taolinesearch.c.html#TaoLineSearchFinalizePackage">src/tao/linesearch/interface/dlregis_taolinesearch.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/linesearch/interface/dlregis_taolinesearch.c)


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