Skip to content

Commit

Permalink
Fix memory leak related to RageSound muFFT allocations
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Sep 8, 2020
1 parent 610ab27 commit 50fde44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/RageUtil/Sound/RageSound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ RageSound::RageSound()

RageSound::~RageSound()
{
if (fftPlan)
mufft_free_plan_1d(fftPlan);

Unload();
}

Expand Down

0 comments on commit 50fde44

Please sign in to comment.