diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-03 00:30:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-03 00:32:28 +0300 |
commit | fcdd851858a61dbc7ec8cf79c0b9d022bb68f896 (patch) | |
tree | 3eb06f6ee0690920de670fd2ff363d89520b045b /source/blender/editors/mesh/editmesh_loopcut.c | |
parent | d1d21dac510a623daaa4344e13935089ebb2c38a (diff) |
Fix memory leak in loop-cut error case
Diffstat (limited to 'source/blender/editors/mesh/editmesh_loopcut.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_loopcut.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_loopcut.c b/source/blender/editors/mesh/editmesh_loopcut.c index 3be94cf99c1..3c3e91e8afe 100644 --- a/source/blender/editors/mesh/editmesh_loopcut.c +++ b/source/blender/editors/mesh/editmesh_loopcut.c @@ -386,7 +386,6 @@ static int loopcut_init(bContext *C, wmOperator *op, const wmEvent *event) bool ok = true; if (is_interactive == false) { if (exec_data.base_index >= bases_len) { - return OPERATOR_CANCELLED; ok = false; } else { |