From 9980bf84e0433bf0dcf92ae544ce00945f67fe05 Mon Sep 17 00:00:00 2001 From: John Davidson Date: Apr 12 2016 06:10:16 +0000 Subject: Use 'delete' on a 'new' object in motionblurfx.cpp. --- diff --git a/toonz/sources/stdfx/motionblurfx.cpp b/toonz/sources/stdfx/motionblurfx.cpp index 5bebef2..f3d72f7 100644 --- a/toonz/sources/stdfx/motionblurfx.cpp +++ b/toonz/sources/stdfx/motionblurfx.cpp @@ -285,7 +285,7 @@ void doDirectionalBlur(TRasterPT r, double blur, bool bidirectional) do_filtering(row + brad, buffer, lx, coeff, brad, blur, globmatte); } - free(row); + delete row; r->unlock(); }