Plug a memory leak
authorMikko Rasa <tdb@tdb.fi>
Sat, 7 Mar 2015 02:07:09 +0000 (04:07 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 7 Mar 2015 02:07:09 +0000 (04:07 +0200)
source/argumentstore.cpp

index 49bdbad..532d66a 100644 (file)
@@ -31,6 +31,8 @@ ArgumentStore::~ArgumentStore()
                        reinterpret_cast<SymbolType::Store *>(store+info.arg_offsets[i])->~Symbol();
                        break;
                }
+
+       delete[] store;
 }
 
 } // namespace DataFile