mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +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);
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 to 2007 by Jonathan Duddington *
|
||||
* email: jonsd@users.sourceforge.net *
|
||||
* Copyright (C) 2013 Reece H. Dunn *
|
||||
* Copyright (C) 2013-2015 Reece H. Dunn *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
|
||||
Reference in New Issue
Block a user