mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-07 23:07:45 +02:00
Remove the naked new in allocation of AudacityProject
This commit is contained in:
@@ -300,7 +300,7 @@ void DeviceManager::Rescan()
|
||||
// Hosts may have disappeared or appeared so a complete repopulate is needed.
|
||||
if (m_inited) {
|
||||
DeviceToolBar *dt;
|
||||
for (size_t i = 0; i < gAudacityProjects.GetCount(); i++) {
|
||||
for (size_t i = 0; i < gAudacityProjects.size(); i++) {
|
||||
dt = gAudacityProjects[i]->GetDeviceToolBar();
|
||||
dt->RefillCombos();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user