Commits

Matt Knepley  committed 4d41221

DMPlex: Fixed memory leak in viewer

Hg-commit: 66be6c10973eb62685f421681c83e86b3d66c44c

  • Participants
  • Parent commits 2be2b18

Comments (0)

Files changed (1)

File src/dm/impls/plex/plex.c

       }
       ierr = PetscViewerASCIIPrintf(viewer, ")\n");CHKERRQ(ierr);
       ierr = ISRestoreIndices(valueIS, &values);CHKERRQ(ierr);
+      ierr = ISDestroy(&valueIS);CHKERRQ(ierr);
     }
   }
   PetscFunctionReturn(0);