From a5bd22b0cf301a26ab71330e3b1acae9629a9968 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 8 Aug 2024 00:47:49 +0200 Subject: [PATCH] cellMic: free temp_buf if on mic close --- rpcs3/Emu/Cell/Modules/cellMic.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/Emu/Cell/Modules/cellMic.cpp b/rpcs3/Emu/Cell/Modules/cellMic.cpp index 6eaa73617a..59071f5562 100644 --- a/rpcs3/Emu/Cell/Modules/cellMic.cpp +++ b/rpcs3/Emu/Cell/Modules/cellMic.cpp @@ -473,6 +473,7 @@ error_code microphone_device::close_microphone() micdevice.buf.clear(); } + temp_buf.clear(); mic_opened = false; return CELL_OK;