diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | src/lib/image_proxy.cc | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2014-06-22 Carl Hetherington <cth@carlh.net> + + * Fix large memory leak with image sources. + 2014-06-21 Carl Hetherington <cth@carlh.net> * Move email config into the KDM email page. diff --git a/src/lib/image_proxy.cc b/src/lib/image_proxy.cc index 4e2f8a135..ba572c727 100644 --- 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; |
