Blender Version
Broken: 2.83 beta (rBb75ce05c3b0f4487)
Worked: the commit before it
Short description of error
Closing the File Save editor causes a heap-use-after-free error.
Exact steps for others to reproduce the error
- Build Blender in debug mode with ASAN enabled
- Run --factory-startup --python-expr "import bpy; bpy.context.preferences.view.filebrowser_display_type = 'SCREEN'"
- Press {Key Esc} to close the splash.
- Press {Key Ctrl+S} and immediately {Key Esc} to close the File Save editor.
- Blender exits because ASAN detected a heap-use-after-free error.
Bisecting showed that this was introduced in rBb75ce05c3b0f4487.