mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-06 15:12:24 +00:00
Delete spectseq on error conditions.
This commit is contained in:
@@ -993,6 +993,7 @@ void MyFrame::OnNewWindow(wxCommandEvent& event)
|
||||
if(stream.Ok() == FALSE)
|
||||
{
|
||||
wxLogError(_T("Failed to open '%s'"),filename.c_str());
|
||||
delete spectseq;
|
||||
return;
|
||||
}
|
||||
wxFileName path = wxFileName(filename);
|
||||
|
||||
Reference in New Issue
Block a user