- fixed leakage during patch load

- fixed leakage during bank load
This commit is contained in:
2023-05-02 18:21:12 +02:00
parent 4b73b5ba69
commit 764f5fdf74
+1 -1
View File
@@ -808,8 +808,8 @@ void JaySynthAudioProcessor::setStateInformation (const void* data, int sizeInBy
pData = (void *)pUncompressedData; pData = (void *)pUncompressedData;
size = uncompressedSize; size = uncompressedSize;
} }
ScopedPointer<XmlElement> xml = getXmlFromBinary(pData, size);
ScopedPointer<XmlElement> xml = getXmlFromBinary(pData, size);
if (xml != 0) if (xml != 0)
{ {
if (xml->hasTagName ("JSynth")) if (xml->hasTagName ("JSynth"))