diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-09 15:38:55 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-09 15:43:34 +0300 |
commit | 8f8ae06b515c0fe479ba8b3cfb27c354c031e483 (patch) | |
tree | eb102c19ecf46de82eec057dd4b76476228c3711 /source/blender/editors/render/render_preview.cc | |
parent | f4e5a8654487ef8b66cf5fb2ca3f4d66cb207618 (diff) |
Fix use-after-free error when exiting on WIN32
The logging API was freed before calling wm_autosave_delete that called
BKE_appdir_folder_id_create to get the auto-save location (when the
temporary directory wasn't found). Detecting BLENDER_USER_AUTOSAVE would
log details about the path, which would read data freed by CLG_exit.
Resolve by calling CLG_exit last.
Diffstat (limited to 'source/blender/editors/render/render_preview.cc')
0 files changed, 0 insertions, 0 deletions