:orphan: # DMLabelRegisterDestroy This function destroys the `DMLabel` registry. It is called from `PetscFinalize()`. ## Synopsis ``` #include "petscdmlabel.h" #include "petscsection.h" PetscErrorCode DMLabelRegisterDestroy(void) ``` ## See Also `DMLabel`, `DM`, `PetscInitialize()` ## Level developer ## Location src/dm/label/dmlabel.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/label/dmlabel.c) [Index of all DMLabel routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)