Commit a5f75bba authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

plug memory leaks in USER-CGDNA package pair styles

parent 685a8bfc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ PairOxdna2Coaxstk::~PairOxdna2Coaxstk()
    memory->destroy(cut_cxst_hc);
    memory->destroy(b_cxst_lo);
    memory->destroy(b_cxst_hi);
    memory->destroy(cutsq_cxst_hc);

    memory->destroy(a_cxst1);
    memory->destroy(theta_cxst1_0);
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ PairOxdnaCoaxstk::~PairOxdnaCoaxstk()
    memory->destroy(cut_cxst_hc);
    memory->destroy(b_cxst_lo);
    memory->destroy(b_cxst_hi);
    memory->destroy(cutsq_cxst_hc);

    memory->destroy(a_cxst1);
    memory->destroy(theta_cxst1_0);
+1 −0
Original line number Diff line number Diff line
@@ -74,6 +74,7 @@ PairOxdnaHbond::~PairOxdnaHbond()
    memory->destroy(b_hb_lo);
    memory->destroy(b_hb_hi);
    memory->destroy(shift_hb);
    memory->destroy(cutsq_hb_hc);

    memory->destroy(a_hb1);
    memory->destroy(theta_hb1_0);
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ PairOxdnaXstk::~PairOxdnaXstk()
    memory->destroy(cut_xst_hc);
    memory->destroy(b_xst_lo);
    memory->destroy(b_xst_hi);
    memory->destroy(cutsq_xst_hc);

    memory->destroy(a_xst1);
    memory->destroy(theta_xst1_0);