projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix large memory leak with image sources.
[dcpomatic.git]
/
src
/
lib
/
image_proxy.cc
diff --git
a/src/lib/image_proxy.cc
b/src/lib/image_proxy.cc
index 4e2f8a1354f9d8ccbc8b6f9cf1de5905935758cd..ba572c72733e9c636a37575ca5cc04d6c609891b 100644
(file)
--- a/
src/lib/image_proxy.cc
+++ b/
src/lib/image_proxy.cc
@@
-142,6
+142,8
@@
MagickImageProxy::image () const
p += _image->stride()[0];
}
+ delete magick_image;
+
LOG_TIMING ("[%1] MagickImageProxy completes decode and convert of %2 bytes", boost::this_thread::get_id(), _blob.length());
return _image;