speechd-discuss
[Top][All Lists]
Advanced

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

[PATCH 1/2] memory leak in espeak


From: José Vilmar Estácio de Souza
Subject: [PATCH 1/2] memory leak in espeak
Date: Wed, 03 Nov 2010 07:57:33 -0200

Hi Chris,
I'll send another patch without the macro.

On 11/03/2010 06:38 AM, Christopher Brannon wrote:
> Jos? Vilmar Est?cio de Souza<vilmar at informal.com.br>  writes:
>
>> The function module_init declares and allocates a string called info
>> that is only used and released if the macro ABORT is called.
>> This patch moves the allocation of the string to the macro abort.
> Hi Jose,
> Can we get rid of the macro entirely?  Macros which operate on local
> variables are dangerous, IMHO.  module_init should probably be refactored.
> Let me take a look.  Or you can, if you like.
>
> -- Chris
>
>
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freebsoft.org/pipermail/speechd/attachments/20101103/52b53a20/attachment.htm>


reply via email to

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