From: Mikko Rasa Date: Sat, 7 Mar 2015 02:07:09 +0000 (+0200) Subject: Plug a memory leak X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=81d65ed026039319b31ac9aa5aad2bab6c978fb9;p=libs%2Fdatafile.git Plug a memory leak --- 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