Blender Git Commit Log

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021