Blender Git Loki

Git Commits -> Revision 0d68f55

Revision 0d68f55 by Jeroen Bakker (master)
September 8, 2020, 11:23 (GMT)
DrawManager: Fixed memory leak in test cases

Memory leak is introduced as test cases reinitializes the GPU stack.
Added a call to GPU_backend_exit to fix this.

In GPU_backend_exit the GPU backend was destroyed but the pointer wasn't
reset for reuse. This patch also clears the pointer to be reused.

Commit Details:

Full Hash: 0d68f55789aff106bdf9e038812d358ca55c060f
Parent Commit: 489aeab
Lines Changed: +2, -0

2 Modified Paths:

/source/blender/draw/tests/shaders_test.cc (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_context.cc (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021