diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-07-15 16:44:33 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-07-15 17:04:22 +0300 |
commit | 60fee69682ac399204404a03ba99845787a53e39 (patch) | |
tree | eb4dcf0e5cbe9bd1a97166829645ec695d5e8708 /source/blender/blenkernel/intern/cloth.c | |
parent | 3df40cc343f09926c044dd9eeb7f81f5360ff330 (diff) |
Library loading: Fix access of out-of-scope memory in py context manager
The `__enter__` function of the `bpy.data.libraries.load` context manager
was storing a pointer to a stack-allocated variable, which was subsequently
used in the `__exit__` function, causing a crash. This is now fixed.
Thanks @Severin for the patch.
Diffstat (limited to 'source/blender/blenkernel/intern/cloth.c')
0 files changed, 0 insertions, 0 deletions