From fc1475bf75a6928b3fb33f1b23ae2ad13bc2c2a0 Mon Sep 17 00:00:00 2001 From: Paul Giblock Date: Wed, 19 Feb 2014 21:25:31 -0500 Subject: [PATCH] Fix leak in last commit Sorry dudes. This one really fixes #353 --- plugins/lb302/lb302.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/lb302/lb302.cpp b/plugins/lb302/lb302.cpp index 7e546cf34..d4127b712 100644 --- a/plugins/lb302/lb302.cpp +++ b/plugins/lb302/lb302.cpp @@ -364,7 +364,9 @@ lb302Synth::lb302Synth( InstrumentTrack * _instrumentTrack ) : lb302Synth::~lb302Synth() { - delete vcf; + for (int i=0; i