Skip to content

Commit

Permalink
Release MooseArray. Refs #12111
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsayad committed Oct 11, 2018
1 parent cb5c0a9 commit 7347651
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/src/interfaces/Coupleable.C
Expand Up @@ -118,6 +118,8 @@ Coupleable::~Coupleable()
_default_vector_value_zero.release();
_default_vector_gradient.release();
_default_vector_curl.release();
_ad_default_gradient.release();
_ad_default_second.release();
}

void
Expand Down
2 changes: 2 additions & 0 deletions framework/src/problems/FEProblemBase.C
Expand Up @@ -471,6 +471,8 @@ FEProblemBase::~FEProblemBase()
_second_phi_zero[i].release();
_vector_zero[i].release();
_vector_curl_zero[i].release();
_ad_zero[i].release();
_ad_grad_zero[i].release();
}
}

Expand Down

0 comments on commit 7347651

Please sign in to comment.