# PetscCommDestroy

Frees communicator. Use in conjunction with PetscCommDuplicate().

### Synopsis

    #include "petscsys.h"
    PetscErrorCode PETSC_DLLEXPORT PetscCommDestroy(MPI_Comm *comm)

Collective on MPI_Comm

### Input Parameter

comm -the communicator to free

Level:developer
Location:src/sys/src/objects/tagm.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages