}
stop_video_server();
+
+ if (getenv ("ARDOUR_RUNNING_UNDER_VALGRIND")) {
+ // don't bother at 'real' exit. the OS cleans up for us.
+ delete big_clock;
+ delete primary_clock;
+ delete secondary_clock;
+ delete _process_thread;
+ delete gui_object_state;
+ }
}
void
PluginManager::~PluginManager()
{
+ if (getenv ("ARDOUR_RUNNING_UNDER_VALGRIND")) {
+ // don't bother, just exit quickly.
+ delete _windows_vst_plugin_info;
+ delete _lxvst_plugin_info;
+ delete _ladspa_plugin_info;
+ delete _lv2_plugin_info;
+ delete _au_plugin_info;
+ }
}
void