mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Fix a potential memleak in FifoPlayerDlg
This commit is contained in:
@ -470,6 +470,7 @@ void FifoPlayerDlg::OnBeginSearch(wxCommandEvent& event)
|
||||
if (obj_idx == -1)
|
||||
{
|
||||
m_numResultsText->SetLabel(_("Invalid search parameters (no object selected)"));
|
||||
delete[] search_val;
|
||||
return;
|
||||
}
|
||||
start_ptr = &fifo_frame.fifoData[frame.objectStarts[obj_idx]];
|
||||
|
Reference in New Issue
Block a user