[Bf-blender-cvs] [3627e5b8d3d] soc-2019-outliner: Outliner: Fix memroy error in walk select

Nathan Craddock noreply at git.blender.org
Mon Jun 3 17:35:36 CEST 2019


Commit: 3627e5b8d3dcc27230ccbee06095f01fe3e0a2ce
Author: Nathan Craddock
Date:   Mon Jun 3 09:35:06 2019 -0600
Branches: soc-2019-outliner
https://developer.blender.org/rB3627e5b8d3dcc27230ccbee06095f01fe3e0a2ce

Outliner: Fix memroy error in walk select

Didn't close an EnumPropertyItem with NULL

===================================================================

M	source/blender/editors/space_outliner/outliner_select.c

===================================================================

diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c
index 823f4cd6ce6..6594fe87d56 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -1597,6 +1597,7 @@ void OUTLINER_OT_select_walk(wmOperatorType *ot)
       {OUTLINER_SELECT_WALK_DOWN, "DOWN", 0, "Down", ""},
       {OUTLINER_SELECT_WALK_LEFT, "LEFT", 0, "Left", ""},
       {OUTLINER_SELECT_WALK_RIGHT, "RIGHT", 0, "Right", ""},
+      {0, NULL, 0, NULL, NULL},
   };
 
   /* identifiers */



More information about the Bf-blender-cvs mailing list