commit 09df05d87ac649a8d67c32cddf914d0e0ed8fa65
parent d68b9968ec9b47400ba77bcb4aa9647973e6138d
Author: Steven Atkinson <[email protected]>
Date: Thu, 15 Jun 2023 20:46:24 -0700
Fix memory issues (#298)
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/NeuralAmpModeler/NeuralAmpModeler.cpp b/NeuralAmpModeler/NeuralAmpModeler.cpp
@@ -497,8 +497,6 @@ int NeuralAmpModeler::UnserializeState(const IByteChunk& chunk, int startPos)
WDL_String dir;
startPos = chunk.GetStr(this->mNAMPath, startPos);
startPos = chunk.GetStr(this->mIRPath, startPos);
- this->mNAM = nullptr;
- this->mIR = nullptr;
int retcode = UnserializeParams(chunk, startPos);
if (this->mNAMPath.GetLength())
this->_GetNAM(this->mNAMPath);