Commits

Jed Brown committed cee652c

TS ex9: fix missing PetscFunctionListDestroy

Comments (0)

Files changed (1)

src/ts/examples/tutorials/ex9.c

   ierr = MatDestroy(&B);CHKERRQ(ierr);
   ierr = DMDestroy(&da);CHKERRQ(ierr);
   ierr = TSDestroy(&ts);CHKERRQ(ierr);
+  ierr = PetscFunctionListDestroy(&limiters);CHKERRQ(ierr);
+  ierr = PetscFunctionListDestroy(&physics);CHKERRQ(ierr);
   ierr = PetscFinalize();
   return 0;
 }