Blender Git Commit Log

Git Commits -> Revision 9824df4

Revision 9824df4 by Jeroen Bakker (master)
October 5, 2021, 08:36 (GMT)
Fix memory leak when running test cases.

Issue is that test cases re-uses draw manager. The new
`DRWRegisteredDrawEngine` struct is only freed when a
valid opengl context was found. what isn't the case
when running test cases.

Also made sure that re-using draw manager would use re-inited
values.

Commit Details:

Full Hash: 9824df49c0694a67158598f232a55a80fe4ba2ce
Parent Commit: 7a66a9f
Lines Changed: +19, -11

1 Modified Path:

/source/blender/draw/intern/draw_manager.c (+19, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021