diff --git a/Userland/Applications/Piano/TrackManager.cpp b/Userland/Applications/Piano/TrackManager.cpp index 2b189afc65..93a15cc754 100644 --- a/Userland/Applications/Piano/TrackManager.cpp +++ b/Userland/Applications/Piano/TrackManager.cpp @@ -9,6 +9,7 @@ #include "TrackManager.h" #include "Music.h" +#include #include #include #include @@ -35,6 +36,7 @@ void TrackManager::time_forward(int amount) void TrackManager::fill_buffer(FixedArray& buffer) { + NoAllocationGuard guard; VERIFY(buffer.size() == m_temporary_track_buffer.size()); size_t sample_count = buffer.size(); // No need to zero the temp buffer as the track overwrites it anyways.