From fcdd851858a61dbc7ec8cf79c0b9d022bb68f896 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 3 Oct 2019 07:30:18 +1000 Subject: [PATCH] Fix memory leak in loop-cut error case --- source/blender/editors/mesh/editmesh_loopcut.c | 1 - 1 file changed, 1 deletion(-) 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 {