Match 'new char[]' with proper delete[] char* rather than delete char*.
This commit is contained in:
parent
35e1c65996
commit
088832b8f6
|
@ -563,7 +563,7 @@ int EDA_BASE_FRAME::ReadHotkeyConfigFile( const wxString& aFilename,
|
|||
ParseHotkeyConfig( data, aDescList );
|
||||
|
||||
/* cleanup */
|
||||
delete buffer;
|
||||
delete[] buffer;
|
||||
cfgfile.Close();
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue