← Back to team overview

kicad-developers team mailing list archive

operator new in board.cpp



I think the lines involving operator new() may blow up at runtime when the corresponding
delete [] is called.

Have you tested this code?

You should probably use the

new OBJECT[size]

syntax instead, so the new style matches the delete style.


Follow ups