diff --git a/eeschema/sch_shape.cpp b/eeschema/sch_shape.cpp index d67741c854..d8551c2c17 100644 --- a/eeschema/sch_shape.cpp +++ b/eeschema/sch_shape.cpp @@ -302,6 +302,8 @@ void SCH_SHAPE::PrintBackground( const RENDER_SETTINGS* aSettings, const VECTOR2 } } + delete[] buffer; + }