small memory leak

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Posts: 1
Joined: 2016-07-25T23:35:01-07:00
Authentication code: 1151

small memory leak

Post by ogoodman »

There is a small memory leak in in the 7.0.2 source download which is still present in the git repo.

It is in coders/dng.c and coders/mpc.c where entry->module is given a new value without first destroying any existing value.

Let me know if you want a pull request for the fix.

Oliver Goodman
User avatar
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: small memory leak

Post by magick »

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ later today. The patch will be available in the beta releases of ImageMagick @ by sometime tomorrow.
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: small memory leak

Post by broucaries »

Does it affect imagemagick 6 ?

Pointer to commit ?
User avatar
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789

Re: small memory leak

Post by dlemstra »

This is an IM7 only issue. The relevant commit is this one: ... b432811e97
.NET + ImageMagick = Magick.NET, @MagickNET, Donate
Post Reply