From ea3af3c2bc3ee5a16528cef9c6875dbd98bb056f Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 1 Oct 2020 09:34:38 -0400 Subject: [PATCH] resolve delete/free() mismatch --- src/dump_custom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dump_custom.cpp b/src/dump_custom.cpp index cf034b0450..b5609b754f 100644 --- a/src/dump_custom.cpp +++ b/src/dump_custom.cpp @@ -234,7 +234,7 @@ DumpCustom::~DumpCustom() for (int i = 0; i < ncustom; i++) delete [] id_custom[i]; memory->sfree(id_custom); - delete [] flag_custom; + memory->sfree(flag_custom); memory->destroy(choose); memory->destroy(dchoose);