1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 17:19:43 +02:00

Revert "Possible fix for VST crash when not in debugger."

This reverts commit 2b24de978cd6e511dd22ae4b3bba308b0820a67e.
This commit is contained in:
Leland Lucius 2015-07-05 13:44:14 -05:00
parent 2b24de978c
commit d7d1de46f8

View File

@ -2826,9 +2826,7 @@ wxString PluginManager::ConvertID(const PluginID & ID)
if (ID.StartsWith(wxT("base64:")))
{
wxString id = ID.Mid(7);
//JKC: Quick fix. I am guessing this buffer is too small.
//char *buf = new char[id.Length() / 4 * 3];
char *buf = new char[id.Length() +8 ];
char *buf = new char[id.Length() / 4 * 3];
id = wxString::FromUTF8(buf, b64decode(id, buf));
delete [] buf;
return id;