mono / libgdiplus

C-based implementation of the GDI+ API
http://www.mono-project.com/
MIT License
334 stars 171 forks source link

Fix System.OutOfMemoryException when 512 calls to BeginContainer were made since application start #646

Closed n432sean closed 4 years ago

n432sean commented 4 years ago

Fixing an issue with the state count not being decremented (stack not popped) when EndContainer is called. This would cause a System.OutOfMemoryException when 512 calls to BeginContainer were made since application start.

filipnavara commented 4 years ago

It was broken by #561.

akoeplinger commented 4 years ago

Cherry-picked to release/6.0.