Skip to content

Commit b1b0b8f

Browse files
committed
Fix VST3 COM Ptr incorrect initialization in headless format
1 parent bcfaaf1 commit b1b0b8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/juce_audio_processors_headless/format_types/juce_VST3PluginFormatHeadless.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void VST3PluginFormatHeadless::findAllTypesForFile (OwnedArray<PluginDescription
7474
if (pluginFactory == nullptr)
7575
continue;
7676

77-
VSTComSmartPtr host { new VST3HostContextHeadless(), IncrementRef::yes };
77+
VSTComSmartPtr host { new VST3HostContextHeadless(), IncrementRef::no };
7878

7979
for (const auto& d : DescriptionLister::findDescriptionsSlow (*host, *pluginFactory, File (file)))
8080
results.add (new PluginDescription (d));

0 commit comments

Comments
 (0)