Plug an lsan leak
Still not sure it's a real leak but let's pay a copy to be certain!
This commit is contained in:
parent
7379ba37c0
commit
b69b40734e
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ sfz::FilePromisePtr sfz::FilePool::getFilePromise(const std::string& filename) n
|
|||
if (preloaded == preloadedFiles.end())
|
||||
return {};
|
||||
|
||||
auto& promise = emptyPromises.back();
|
||||
auto promise = emptyPromises.back();
|
||||
promise->filename = preloaded->first;
|
||||
promise->preloadedData = preloaded->second.preloadedData;
|
||||
promise->sampleRate = preloaded->second.sampleRate;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue