From 7efbdb24cc03b40a9cabc68c23bb5dceb9c58eb2 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sun, 15 Aug 2021 18:39:21 -0400 Subject: [PATCH] fix memory leak --- src/INTERLAYER/pair_ilp_graphene_hbn.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/INTERLAYER/pair_ilp_graphene_hbn.cpp b/src/INTERLAYER/pair_ilp_graphene_hbn.cpp index efb7214cd7..3aa5ae7bf5 100644 --- a/src/INTERLAYER/pair_ilp_graphene_hbn.cpp +++ b/src/INTERLAYER/pair_ilp_graphene_hbn.cpp @@ -107,6 +107,7 @@ PairILPGrapheneHBN::~PairILPGrapheneHBN() memory->destroy(elem2param); memory->destroy(cutILPsq); + memory->sfree(params); } /* ----------------------------------------------------------------------