diff --git a/Source/Core/Core/HW/DSPHLE/DSPHLE.cpp b/Source/Core/Core/HW/DSPHLE/DSPHLE.cpp index 70365583c9..d73a749ccb 100644 --- a/Source/Core/Core/HW/DSPHLE/DSPHLE.cpp +++ b/Source/Core/Core/HW/DSPHLE/DSPHLE.cpp @@ -62,6 +62,8 @@ void DSPHLE::DSP_StopSoundStream() void DSPHLE::Shutdown() { + delete m_pUCode; + m_pUCode = nullptr; } void DSPHLE::DSP_Update(int cycles)