Skip to content

Commit

Permalink
Also need to free new SR Variable calculator in the LTE moments updater
Browse files Browse the repository at this point in the history
  • Loading branch information
JunoRavin committed Jul 22, 2024
1 parent 365d193 commit 71e083b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zero/vlasov_lte_moments.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ gkyl_vlasov_lte_moments_release(gkyl_vlasov_lte_moments *lte_moms)
gkyl_array_release(lte_moms->temperature);
gkyl_dg_bin_op_mem_release(lte_moms->mem);
if (lte_moms->model_id == GKYL_MODEL_SR) {
gkyl_dg_calc_sr_vars_release(lte_moms->sr_vars);
gkyl_array_release(lte_moms->V_drift_sq);
gkyl_array_release(lte_moms->GammaV);
gkyl_array_release(lte_moms->GammaV_sq);
Expand Down

0 comments on commit 71e083b

Please sign in to comment.