diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-04-19 10:36:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | 7a68de9aa2aba678f9ae9c6f9e11d9fc20c1c8e2 (patch) | |
| tree | d708c2bb83188c2ea2775af9016120381db216f9 /src/lib/resampler.cc | |
| parent | 0a2fe723109c6a8fbb61ea5721b5a475e4b480d0 (diff) | |
Fix memory leak.
Diffstat (limited to 'src/lib/resampler.cc')
| -rw-r--r-- | src/lib/resampler.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/resampler.cc b/src/lib/resampler.cc index 4498dccb5..e991591c2 100644 --- a/src/lib/resampler.cc +++ b/src/lib/resampler.cc @@ -128,6 +128,8 @@ Resampler::run (shared_ptr<const AudioBuffers> in, Frame frame) } if (data.output_frames_gen == 0) { + delete[] data.data_in; + delete[] data.data_out; break; } |
