From 81d65ed026039319b31ac9aa5aad2bab6c978fb9 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 7 Mar 2015 04:07:09 +0200 Subject: [PATCH] Plug a memory leak --- source/argumentstore.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/argumentstore.cpp b/source/argumentstore.cpp index 49bdbad..532d66a 100644 --- a/source/argumentstore.cpp +++ b/source/argumentstore.cpp @@ -31,6 +31,8 @@ ArgumentStore::~ArgumentStore() reinterpret_cast(store+info.arg_offsets[i])->~Symbol(); break; } + + delete[] store; } } // namespace DataFile -- 2.43.0