1. Lisandro Dalcin
  2. PetIGA

Commits

Lisandro Dalcin  committed 592a725

Free boundary functions in IGABoundaryClear()

  • Participants
  • Parent commits 9129d59
  • Branches default

Comments (0)

Files changed (1)

File src/petigabound.c

View file
  • Ignore whitespace
   PetscValidPointer(boundary,1);
   boundary->count = 0;
   boundary->nload = 0;
-  if (boundary->userops) {ierr = PetscMemzero(boundary->userops,sizeof(struct _IGAUserOps));CHKERRQ(ierr);}
+  ierr = PetscFree(boundary->userops);CHKERRQ(ierr);
   PetscFunctionReturn(0);
 }