Blender Git Loki
Git Commits -> Revision 8a74671
Revision 8a74671 by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) May 8, 2017, 10:53 (GMT) |
Fix memory leak and access violation The builtin shaders are free in blender close, so the engine must not free them. The memory leak was relatred to recreate the shaders again and again, so the free only use the last copy. |
Commit Details:
Full Hash: 8a7467146628632bbc6f834d56278af6a7e0c37b
Parent Commit: 7b8b23d
Lines Changed: +17, -14
1 Modified Path:
/source/blender/draw/engines/gpencil/gpencil_engine.c (+17, -14) (Diff)