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>2015-01-04 14:22:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-04 14:25:53 +0300
commit44e02651ab369772db492e1c58e7a8860d092df2 (patch)
tree4ed6eeadfba5974037aca639cc24c9c50888f0c4
parent026cb6bdebd7174fbb829c441c0423f6cf31324c (diff)
Fix for crash for 'Edit Source'
was accessing freed menu region.
-rw-r--r--source/blender/editors/interface/interface_handlers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index c7ceea05b4f..33eee810112 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -9217,6 +9217,7 @@ static int ui_popup_handler(bContext *C, const wmEvent *event, void *userdata)
ui_popup_block_free(C, menu);
UI_popup_handlers_remove(&win->modalhandlers, menu);
+ CTX_wm_menu_set(C, NULL);
#ifdef USE_DRAG_TOGGLE
{