Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-03-16 16:18:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-03-16 16:18:20 +0300
commitaad9dd2f1bc2645885da4975985f413706b06c2e (patch)
tree46f2698e99a3b27de06428bc220f48b90331685d /source/blender/windowmanager/intern
parent1cad64900e3f052fa895a4ac2a994d87b0c3fce1 (diff)
Support passing in UserDef for free function
Needed so we can load and free non-global user preferences.
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index 4b2369a1a7c..227e62d26d3 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -572,7 +572,7 @@ void WM_exit_ext(bContext *C, const bool do_python)
ED_file_exit(); /* for fsmenu */
UI_exit();
- BKE_blender_userdef_free();
+ BKE_blender_userdef_free(&U);
RNA_exit(); /* should be after BPY_python_end so struct python slots are cleared */