Blender Git Loki

Git Commits -> Revision c7a1e11

Revision c7a1e11 by Sybren A. Stüvel (master)
November 16, 2021, 12:07 (GMT)
Tests: fix memory leak of GHOST system paths

Dispose of GHOST system paths when tearing down `BlendfileLoadingBaseTest`
and some other test cases. This prevents a memory leak.

A better solution would be to rework Blender's initialisation & teardown
structure, but that's outside the scope of this fix.

No functional changes to Blender.

Commit Details:

Full Hash: c7a1e115b5071ae55db4aa66085d19c183ea325d
Parent Commit: faa8aa3
Lines Changed: +8, -0

3 Modified Paths:

/source/blender/blenkernel/intern/layer_test.cc (+4, -0) (Diff)
/source/blender/blenloader/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenloader/tests/blendfile_loading_base_test.cc (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021