diff --git a/src/node_sea.cc b/src/node_sea.cc index fb9f933a19fa70..459083c5ffbf2f 100644 --- a/src/node_sea.cc +++ b/src/node_sea.cc @@ -271,6 +271,7 @@ std::tuple FixupArgsForSEA(int argc, char** argv) { new_argv.emplace_back(argv[0]); new_argv.insert(new_argv.end(), argv, argv + argc); new_argv.emplace_back(nullptr); + delete[] argv; argc = new_argv.size() - 1; argv = new_argv.data(); }