From 28790b32b9c9e725362f1a4760d4318643f0e2ad Mon Sep 17 00:00:00 2001 From: MichaƂ Janiszewski Date: Apr 25 2016 20:24:05 +0000 Subject: Plug memory leak in common --- diff --git a/toonz/sources/common/tvrender/tstrokedeformations.cpp b/toonz/sources/common/tvrender/tstrokedeformations.cpp index 0a36b5a..8cee607 100644 --- a/toonz/sources/common/tvrender/tstrokedeformations.cpp +++ b/toonz/sources/common/tvrender/tstrokedeformations.cpp @@ -200,6 +200,7 @@ TStrokePointDeformation::TStrokePointDeformation(const TPointD &vect, double radius) : m_imp(new Imp(vect, center, radius)) { + delete m_imp; } //-----------------------------------------------------------------------------