diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-04 16:41:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-04 16:41:59 +0400 |
commit | 1d0f0050938591541e34c03278ad45efa8f32bd1 (patch) | |
tree | 69edc0fa83323ed0403f1dc53d6bc5f13b31e374 | |
parent | 60cd5ee4122ee73e24c47bb8dfba708624bd5eba (diff) |
fix for WM_keymap_remove_item() writing to freed memory.
-rw-r--r-- | source/blender/windowmanager/intern/wm_keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c index 4fe1e3b64ab..3739462ac2c 100644 --- a/source/blender/windowmanager/intern/wm_keymap.c +++ b/source/blender/windowmanager/intern/wm_keymap.c @@ -392,7 +392,7 @@ int WM_keymap_remove_item(wmKeyMap *keymap, wmKeyMapItem *kmi) } BLI_freelinkN(&keymap->items, kmi); - WM_keyconfig_update_tag(keymap, kmi); + WM_keyconfig_update_tag(keymap, NULL); return TRUE; } else { |