diff --git a/plugins/vst_base/remote_vst_plugin.cpp b/plugins/vst_base/remote_vst_plugin.cpp index a638ed692..3ae58bfce 100644 --- a/plugins/vst_base/remote_vst_plugin.cpp +++ b/plugins/vst_base/remote_vst_plugin.cpp @@ -885,6 +885,9 @@ void RemoteVstPlugin::updateInOutCount() delete[] m_inputs; delete[] m_outputs; + m_inputs = NULL; + m_outputs = NULL; + setInputCount( inputCount() ); setOutputCount( outputCount() );