Skip to content

Commit 09df05d

Browse files
authored
Fix memory issues (#298)
1 parent d68b996 commit 09df05d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

NeuralAmpModeler/NeuralAmpModeler.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,6 @@ int NeuralAmpModeler::UnserializeState(const IByteChunk& chunk, int startPos)
497497
WDL_String dir;
498498
startPos = chunk.GetStr(this->mNAMPath, startPos);
499499
startPos = chunk.GetStr(this->mIRPath, startPos);
500-
this->mNAM = nullptr;
501-
this->mIR = nullptr;
502500
int retcode = UnserializeParams(chunk, startPos);
503501
if (this->mNAMPath.GetLength())
504502
this->_GetNAM(this->mNAMPath);

0 commit comments

Comments
 (0)