diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-22 21:48:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-22 21:48:01 +0100 |
| commit | 79a871ea740509ff2fa540ca715375e0ba1c4ad9 (patch) | |
| tree | 0f249f9dc8ce5e8353333a5bdb9ff86b6409a8d6 /src/lib/image_proxy.cc | |
| parent | 14b1f672dc92ae8e1385c75e30420a4dcb4e32c9 (diff) | |
Fix large memory leak with image sources.
Reported-by: Ivan Pullman
Diffstat (limited to 'src/lib/image_proxy.cc')
| -rw-r--r-- | src/lib/image_proxy.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
