Merge branch 'master' into blender2.8
[blender.git] / source / blender / windowmanager / intern / wm_init_exit.c
index 8346535cd6a9a0d4d307a58adec57630719d5483..fc1805e102f0a7acac2e0529de8ddac7cd9fafcb 100644 (file)
@@ -579,7 +579,7 @@ void WM_exit_ext(bContext *C, const bool do_python)
        ED_file_exit(); /* for fsmenu */
 
        UI_exit();
-       BKE_blender_userdef_free_data(&U);
+       BKE_blender_userdef_data_free(&U, false);
 
        RNA_exit(); /* should be after BPY_python_end so struct python slots are cleared */