From 449e6690673e9d83a625d4de9e1e8dc746190811 Mon Sep 17 00:00:00 2001 From: saker Date: Mon, 1 Jul 2024 13:43:05 -0400 Subject: [PATCH] Revert "Reduce Memory Leaks (#7345)" (#7360) This reverts commit 0bc911e26676e7e40b19c452922df58e24cb0e46. --- src/core/NotePlayHandle.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/NotePlayHandle.cpp b/src/core/NotePlayHandle.cpp index 729048c18..4ee30054a 100644 --- a/src/core/NotePlayHandle.cpp +++ b/src/core/NotePlayHandle.cpp @@ -670,9 +670,7 @@ void NotePlayHandleManager::extend( int c ) void NotePlayHandleManager::free() { - delete s_available[0]; delete[] s_available; - s_available = nullptr; }