Hey, I found a tiny memory leak for PDF decoder if the delegate fails.
--- ImageMagick-6.6.8-5/coders/pdf.c 2011-03-16 12:15:58.000000000 +0900
+++ ImageMagick-6.6.8-5-new/coders/pdf.c 2011-03-16 15:33:45.000000000 +0900
@@ -661,6 +661,7 @@ static Image *ReadPDFImage(const ImageIn ...
Search found 2 matches
- 2011-03-18T01:51:41-07:00
- Forum: Bugs
- Topic: Fixed memory leak for PDF and Bitmap PSD RLE support.
- Replies: 1
- Views: 4550
- 2011-01-24T02:40:45-07:00
- Forum: Bugs
- Topic: Memory leak in macro ThrowFileException()
- Replies: 1
- Views: 3849
Memory leak in macro ThrowFileException()
I found a memory leak for the macro ThrowFileException() in magick/exception-private.h
It might be not a big deal.
But I wrote a daemon process using ImageMagick library,
and this leak _matters_ as the daemon's life time goes by.
Here is my patch.
#define ThrowFileException(exception,severity ...
It might be not a big deal.
But I wrote a daemon process using ImageMagick library,
and this leak _matters_ as the daemon's life time goes by.
Here is my patch.
#define ThrowFileException(exception,severity ...