Fix resource leak
This commit is contained in:
parent
e335c1c612
commit
9186be600b
|
@ -302,6 +302,8 @@ void SCH_SHAPE::PrintBackground( const RENDER_SETTINGS* aSettings, const VECTOR2
|
|||
}
|
||||
}
|
||||
|
||||
delete[] buffer;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue