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
path: root/source
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-08-13 00:07:01 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-08-13 00:07:27 +0300
commit1260baf16b9fffe2147b8ec1a2c424b0e8bf8106 (patch)
treedbcfb65d8f4d14c831f099e4b5c7c30e11029ced /source
parentc77bf952210a4947f151b3f6cb657584d788a548 (diff)
GPencil: Remove unused variable and fix memory leak
This was missing in previous commit
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/gpencil/gpencil_merge.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_merge.c b/source/blender/editors/gpencil/gpencil_merge.c
index 4839c69b2e3..4aae0b97e05 100644
--- a/source/blender/editors/gpencil/gpencil_merge.c
+++ b/source/blender/editors/gpencil/gpencil_merge.c
@@ -584,8 +584,6 @@ static int gpencil_stroke_merge_material_exec(bContext *C, wmOperator *op)
const float val_threshold = RNA_float_get(op->ptr, "val_threshold");
/* Review materials. */
- GHash *mat_table = BLI_ghash_int_new(__func__);
-
short *totcol = BKE_object_material_len_p(ob);
if (totcol == 0) {
return OPERATOR_CANCELLED;