projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a2fe72
)
Fix memory leak.
author
Carl Hetherington
<cth@carlh.net>
Wed, 19 Apr 2017 09:36:24 +0000
(10:36 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 19 Apr 2017 22:04:32 +0000
(23:04 +0100)
src/lib/resampler.cc
patch
|
blob
|
history
diff --git
a/src/lib/resampler.cc
b/src/lib/resampler.cc
index 4498dccb557533296fc3dd4cb1593a9764848d5d..e991591c24544b5bf77849eb7eacd5d564849ded 100644
(file)
--- 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;
}