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 );
|
ParseHotkeyConfig( data, aDescList );
|
||||||
|
|
||||||
/* cleanup */
|
/* cleanup */
|
||||||
delete buffer;
|
delete[] buffer;
|
||||||
cfgfile.Close();
|
cfgfile.Close();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue