emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using the ImageMagick backend seems to leak memory


From: Andreas Schwab
Subject: Re: Using the ImageMagick backend seems to leak memory
Date: Fri, 07 Jan 2011 23:39:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (gnu/linux)

Tassilo Horn <address@hidden> writes:

> Looking at the API, there's
>
> ClearMagickWand() clears resources associated with the wand.
> The format of the ClearMagickWand method is:
>
>   void ClearMagickWand(MagickWand *wand)
>
> A description of each parameter follows:
> wand
>   the magick wand.
>
> In the emacs sources, that function's never called.  So that's probably
> the source of the leak.

DestroyMagickWand should imply ClearMagickWand, IIUC.

I've fixed a few resource leaks, but that did not really help.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]