# PCHPDDMFinalizePackage
This function frees everything from the `PCHPDDM` package. It is called from `PetscFinalize()`. 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCHPDDMFinalizePackage(void)
```



## See Also
 `PetscFinalize()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/hpddm/pchpddm.cxx.html#PCHPDDMFinalizePackage">src/ksp/pc/impls/hpddm/pchpddm.cxx</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/hpddm/pchpddm.cxx)


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