diff options
Diffstat (limited to 'source/blender/editors/lattice')
-rw-r--r-- | source/blender/editors/lattice/editlattice_tools.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/lattice/editlattice_tools.c b/source/blender/editors/lattice/editlattice_tools.c index 87fea4706e9..4fefe05b799 100644 --- a/source/blender/editors/lattice/editlattice_tools.c +++ b/source/blender/editors/lattice/editlattice_tools.c @@ -27,6 +27,9 @@ * \ingroup edlattice */ + +#include "MEM_guardedalloc.h" + #include "BLI_math.h" #include "BLI_utildefines.h" @@ -318,6 +321,7 @@ static int lattice_flip_exec(bContext *C, wmOperator *op) WM_event_add_notifier(C, NC_GEOM | ND_DATA, obedit->data); changed = true; } + MEM_freeN(objects); return changed ? OPERATOR_FINISHED : OPERATOR_CANCELLED; } |