# PetscMapDestroy

Destroys a map object.

### Synopsis

    #include "petscvec.h"
    PetscErrorCode PETSCVEC_DLLEXPORT PetscMapDestroy(PetscMap map)

Not Collective

### Input Parameter

m -the map object

### See Also

PetscMapCreateMPI()

Level:developer
Location:src/vec/interface/map.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/vec/examples/tutorials/ex17.c.html