Match 'new char[]' with proper delete[] char* rather than delete char*.

This commit is contained in:
Matthew Beckler 2013-04-13 23:07:04 -05:00 committed by Dick Hollenbeck
parent 35e1c65996
commit 088832b8f6
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ int EDA_BASE_FRAME::ReadHotkeyConfigFile( const wxString& aFilename,
ParseHotkeyConfig( data, aDescList );
/* cleanup */
delete buffer;
delete[] buffer;
cfgfile.Close();
return 1;
}