Memory leak fix patch

Tzafrir Cohen tzafrir.cohen at
Wed Aug 31 05:27:42 UTC 2005

On Tue, Aug 30, 2005 at 11:18:51AM +0200, Kiss Karoly wrote:
> Hello,
> I am currently using asterisk on debian, and there is a memory leak in 
> asterisk which only shows in very extreme conditions, but I had the luck 
> to run into it and I managed to make a patch for debian, see the attached 
> file.
> Please note that the patch was done after doing a debian/rules patch in 
> the downloaded asterisk sources.
> The bug was originally fixed by the asterisk developers, and was 
> backported to the 1.0 stable

It has been commited into stable between 1.0.7 and 1.0.9, along with
some other changes in app_queue.c .

Furthermore, in the current v1-0 branch , those changes are now simply:


instead of:

  if (f)

> branch but it seems that in the debian 
> sources the problem still exists. 

Sarge packages have 1.0.7 . Sid/Etch now have 1.0.9 so the problem
should be fixed there.

> I used that patch to create the one I 
> attached since the original one cannot be applied.
> See

Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at

More information about the Pkg-voip-maintainers mailing list